# | Line 57 | Line 57 | class ScriptWriter: | |
---|---|---|
57 | """ | |
58 | ||
59 | tpl = open(self.template, 'r') | |
60 | < | script = open(common.taskDB.dict('ScriptName'),'w') |
60 | > | script = open(common._db.queryTask('scriptName'),'w') |
61 | ||
62 | for line in tpl: | |
63 | if len(line) > 6 and line[:6] == '#CRAB ': | |
# | Line 174 | Line 174 | class ScriptWriter: | |
174 | jbt = common.job_list.type() | |
175 | txt = jbt.checkOut(limit) | |
176 | return txt | |
177 | + | |
178 | def rewriteCMSSWcfg_(self): | |
179 | """ | |
180 | Returns part of the script that runs writeCfg.py on the WN |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |