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

Comparing COMP/CRAB/python/multicrab.py (file contents):
Revision 1.23 by slacapra, Mon Apr 12 10:41:16 2010 UTC vs.
Revision 1.25 by slacapra, Fri May 7 10:31:19 2010 UTC

# Line 217 | Line 217 | class MultiCrab:
217                  options[tmp]=self.cfg_params_dataset[sec][opt]
218  
219              # check if user_remote_dir is set in multicrab.cfg
220 +            # protect against no user_remote_dir
221              self.user_remote_dir =self.cfg_params_dataset[sec].get("user.user_remote_dir",None)
222              if not self.user_remote_dir:
223                  self.user_remote_dir = "./"
# Line 227 | Line 228 | class MultiCrab:
228              # also for ui_working_dir
229              if not self.cfg_params_dataset.has_key("USER.ui_working_dir") and self.ui_working_dir:
230                  options["-USER.ui_working_dir"]=self.ui_working_dir+"/"+sec
231 +            # if ui_working_dir is set, change -c dir accordnigly
232 +                options['-c']=self.ui_working_dir+"/"+sec
233 +
234              # also for logDir
235              if not self.cfg_params_dataset.has_key("USER.logdir") and self.logdir:
236                  options["-USER.logdir"]=self.logdir+"/"+sec

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines