ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/CMSSW/PhysicsTools/PythonAnalysis/scripts/edmProvDiff
(Generate patch)

Comparing CMSSW/PhysicsTools/PythonAnalysis/scripts/edmProvDiff (file contents):
Revision 1.2 by decosa, Wed Oct 7 13:28:42 2009 UTC vs.
Revision 1.3 by hegner, Sun Jan 10 18:38:23 2010 UTC

# Line 12 | Line 12
12   from optparse import OptionParser
13   import sys
14   from subprocess import Popen, PIPE, STDOUT
15 < from readProv import *
16 < from diffProv import *
15 > from PhysicsTools.PythonAnalysis.readProv import *
16 > from PhysicsTools.PythonAnalysis.diffProv import *
17  
18  
19 < usage = "usage: %prog  filename1 filename2"
19 > usage = "usage: %prog filename1 filename2"
20   parser = OptionParser(usage=usage, version="%prog 0.1")
21   parser.add_option("-v", "--verbosity_level", dest="verbose", help="[0] to print short message [1], to print details about the differences of modules common to both files, [2] to print all the details about the differences between the two files")
22   (options, args) = parser.parse_args()
23  
24   if len(args) != 2:
25 <    print 'Incorrect usage'
25 >    parser.error('Please specify two EDM files to compare')
26  
27   def provenance(args):
28      cmd="edmProvDump "+args    

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines