[Rivet-svn] r2761 - trunk/pyext

blackhole at projects.hepforge.org blackhole at projects.hepforge.org
Thu Nov 18 16:30:27 GMT 2010


Author: dgrell
Date: Thu Nov 18 16:30:27 2010
New Revision: 2761

Log:
Keep reading .plot for other matching sections. Last setting wins.

Modified:
   trunk/pyext/lighthisto.py

Modified: trunk/pyext/lighthisto.py
==============================================================================
--- trunk/pyext/lighthisto.py	Thu Nov 18 15:45:32 2010	(r2760)
+++ trunk/pyext/lighthisto.py	Thu Nov 18 16:30:27 2010	(r2761)
@@ -495,7 +495,8 @@
                     if not startreading:
                         continue
                     if self.isEndMarker(line, section):
-                        break
+                        startreading=False
+                        continue
                     elif self.isComment(line):
                         continue
                     if section in ['PLOT', 'HISTOGRAM']:


More information about the Rivet-svn mailing list