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.37 by spiga, Thu Sep 25 11:50:05 2008 UTC vs.
Revision 1.38 by spiga, Fri Oct 3 14:51:18 2008 UTC

# Line 62 | Line 62 | class ScriptWriter:
62          """
63  
64          tpl = open(self.template, 'r')
65 <        script = open(common.work_space.jobDir()+self.scriptName,'w')
65 >
66 >        wrapper_fullPath = common.work_space.jobDir()+self.scriptName
67 >        script = open(wrapper_fullPath,'w')
68  
69          for line in tpl:
70              if len(line) > 6 and line[:6] == '#CRAB ':
# Line 86 | Line 88 | class ScriptWriter:
88  
89          script.close()
90          tpl.close()
91 +       # os.chmod(wrapper_fullPath, 0744)
92          return
93  
94      def title_(self):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines