# | Line 4 | Line 4 | |
---|---|---|
4 | Re-write config file and optionally convert to python | |
5 | """ | |
6 | ||
7 | + | __revision__ = "$Id$" |
8 | + | __version__ = "$Revision$" |
9 | + | |
10 | import sys, getopt | |
11 | import imp | |
12 | import os | |
# | Line 215 | Line 218 | def main(argv) : | |
218 | print "import FWCore.ParameterSet.Config as cms" | |
219 | print cmsProcess.dumpPython() | |
220 | else: | |
221 | < | outFile.write(str(cfg)) |
221 | > | outFile.write(cfg.data.dumpConfig()) |
222 | if (debug): | |
223 | print "writeCfg output:" | |
224 | < | print str(cfg) |
224 | > | print str(cfg.data.dumpConfig()) |
225 | outFile.close() | |
226 | ||
227 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |