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

Comparing COMP/CRAB/python/PsetManipulator.py (file contents):
Revision 1.25 by ewv, Tue Feb 24 16:16:15 2009 UTC vs.
Revision 1.26 by ewv, Tue Feb 24 16:19:25 2009 UTC

# Line 26 | Line 26 | class PsetManipulator:
26          #convert Pset
27          from FWCore.ParameterSet.Config import include
28          common.logger.debug(3,"PsetManipulator::__init__: PSet file = "+self.pset)
29 +        # FUTURE: Can drop cfg mode for CMSSW < 2_1_x
30          if self.pset.endswith('py'):
31              handle = open(self.pset, 'r')
32              try:   # Nested form for Python < 2.5

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines