|
[Rivet-svn] r2759 - trunk/pyextblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Nov 18 15:44:01 GMT 2010
Author: dgrell Date: Thu Nov 18 15:44:01 2010 New Revision: 2759 Log: .plot files allow wildcards Modified: trunk/pyext/lighthisto.py Modified: trunk/pyext/lighthisto.py ============================================================================== --- trunk/pyext/lighthisto.py Thu Nov 18 14:29:13 2010 (r2758) +++ trunk/pyext/lighthisto.py Thu Nov 18 15:44:01 2010 (r2759) @@ -486,7 +486,8 @@ m = self.pat_begin_block.match(line) if m: tag, pathpat = m.group(1,2) - if tag == section and pathpat == hpath: + # pathpat could be a regex + if tag == section and re.match(pathpat,hpath): startreading=True if section in ['SPECIAL']: ret[section] = ''
More information about the Rivet-svn mailing list |