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