|
[Rivet-svn] r1662 - trunk/binblackhole at projects.hepforge.org blackhole at projects.hepforge.orgTue Jul 7 14:21:01 BST 2009
Author: dgrell Date: Tue Jul 7 14:21:01 2009 New Revision: 1662 Log: Fixed #313 Modified: trunk/bin/make-plots Modified: trunk/bin/make-plots ============================================================================== --- trunk/bin/make-plots Tue Jul 7 14:04:01 2009 (r1661) +++ trunk/bin/make-plots Tue Jul 7 14:21:01 2009 (r1662) @@ -54,10 +54,12 @@ m = pat_begin_block.match(line) if m: name, path = m.group(1,2) + if path is None and name != 'PLOT': raise Exception('BEGIN sections need a path name.') - settings = self.get_path_settings(path) + if path is not None: + settings = self.get_path_settings(path) if name == 'PLOT': self.read_input(f);
More information about the Rivet-svn mailing list |