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

Comparing COMP/CRAB/python/ScriptWriter.py (file contents):
Revision 1.21 by ewv, Tue Feb 26 22:24:20 2008 UTC vs.
Revision 1.22 by spiga, Mon Mar 3 20:29:45 2008 UTC

# 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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines