# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |