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.29 by slacapra, Wed Oct 26 11:43:40 2011 UTC vs.
Revision 1.30 by slacapra, Tue Nov 22 18:42:26 2011 UTC

# Line 168 | Line 168 | class MultiCrab:
168          # then Dataset's specific
169          for sec in cfg_params:
170              if sec in ['MULTICRAB', 'COMMON']: continue
171            self.cfg_params_dataset[sec]=cfg_params[sec]
171              # add common to all dataset
172 +            self.cfg_params_dataset[sec]=cfg_params[sec]
173              for key in common_opts:
174 <                self.cfg_params_dataset[sec][key]=common_opts[key]
174 >                if not self.cfg_params_dataset[sec].has_key(key):
175 >                    self.cfg_params_dataset[sec][key]=common_opts[key]
176              pass
177  
178          # read crab.cfg file and search for storage_path

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines