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

Comparing COMP/CRAB/python/Splitter.py (file contents):
Revision 1.13 by spiga, Tue May 26 10:23:01 2009 UTC vs.
Revision 1.14 by spiga, Tue May 26 16:53:23 2009 UTC

# Line 9 | Line 9 | class JobSplitter:
9          self.args=args
10          #self.maxEvents
11          # init BlackWhiteListParser
12 <        seWhiteList = cfg_params.get('EDG.se_white_list',[])
13 <        seBlackList = cfg_params.get('EDG.se_black_list',[])
12 >        seWhiteList = cfg_params.get('GRID.se_white_list',[])
13 >        seBlackList = cfg_params.get('GRID.se_black_list',[])
14          self.blackWhiteListParser = SEBlackWhiteListParser(seWhiteList, seBlackList, common.logger)
15  
16  
# Line 318 | Line 318 | class JobSplitter:
318              for range_jobs in noSiteBlock:
319                  msg += str(range_jobs) + virgola
320              msg += '\n               will not be submitted and this block of data can not be analyzed!\n'
321 <            if self.cfg_params.has_key('EDG.se_white_list'):
322 <                msg += 'WARNING: SE White List: '+self.cfg_params['EDG.se_white_list']+'\n'
321 >            if self.cfg_params.has_key('GRID.se_white_list'):
322 >                msg += 'WARNING: SE White List: '+self.cfg_params['GRID.se_white_list']+'\n'
323                  msg += '(Hint: By whitelisting you force the job to run at this particular site(s).\n'
324                  msg += 'Please check if the dataset is available at this site!)\n'
325 <            if self.cfg_params.has_key('EDG.ce_white_list'):
326 <                msg += 'WARNING: CE White List: '+self.cfg_params['EDG.ce_white_list']+'\n'
325 >            if self.cfg_params.has_key('GRID.ce_white_list'):
326 >                msg += 'WARNING: CE White List: '+self.cfg_params['GRID.ce_white_list']+'\n'
327                  msg += '(Hint: By whitelisting you force the job to run at this particular site(s).\n'
328                  msg += 'Please check if the dataset is available at this site!)\n'
329  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines