83 |
|
try: |
84 |
|
os.mkdir(self.continue_dir) |
85 |
|
except OSError: |
86 |
< |
msg = 'Cannot create '+str(self.continue_dir) +' directory.\n' |
86 |
> |
msg = 'ERROR: Cannot create '+str(self.continue_dir) +' directory.\n' |
87 |
|
raise CrabException(msg) |
88 |
|
pass |
89 |
|
else: |
90 |
< |
msg = 'Directory '+str(self.continue_dir) +' already exist.\n' |
90 |
> |
msg = 'ERROR: Directory '+str(self.continue_dir) +' already exist.\n' |
91 |
|
raise CrabException(msg) |
92 |
|
|
93 |
|
os.putenv("MULTICRAB_WORKDIR",self.continue_dir) |
131 |
|
cfg_params = self.loadMultiConfig(self.cfg_fname) |
132 |
|
pass |
133 |
|
else: |
134 |
< |
msg = 'cfg-file '+self.cfg_fname+' not found.' |
134 |
> |
msg = 'ERROR: cfg-file '+self.cfg_fname+' not found.' |
135 |
|
raise CrabException(msg) |
136 |
|
pass |
137 |
|
pass |