ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/RootMacros/overlayHists.py
(Generate patch)

Comparing UserCode/RootMacros/overlayHists.py (file contents):
Revision 1.1 by klukas, Wed Nov 18 21:55:17 2009 UTC vs.
Revision 1.2 by klukas, Thu Nov 19 15:21:39 2009 UTC

# Line 72 | Line 72 | class RootFile:
72   def main():
73      files = []
74      for filename in arguments: files.append(RootFile(filename))
75 +    if len(files) == 0:
76 +        parser.print_help()
77 +        sys.exit(0)
78      process_directory("", files)
79      if options.ext == "pdf":
80          os.system("gs -q -dBATCH -dNOPAUSE -sDEVICE=pdfwrite "

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines