ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/COMP/CRAB/python/writeCfg.py
(Generate patch)

Comparing COMP/CRAB/python/writeCfg.py (file contents):
Revision 1.22 by ewv, Wed Jul 29 21:20:03 2009 UTC vs.
Revision 1.23 by ewv, Thu Jul 30 18:45:44 2009 UTC

# Line 174 | Line 174 | def main(argv) :
174          inModule.setSecondaryFileNames(*parentFileNames)
175  
176      if lumis:
177 <        lumiRanges = lumis.split(',')
178 <        inModule.setLumisToProcess(*lumiRanges)
177 >        if CMSSW_major < 3: # FUTURE: Can remove this check
178 >            print "Cannot skip lumis for CMSSW 2_x"
179 >        else:
180 >            lumiRanges = lumis.split(',')
181 >            inModule.setLumisToProcess(*lumiRanges)
182  
183      # Pythia parameters
184      if (firstRun):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines