13 |
|
seWhiteList = cfg_params.get('EDG.se_white_list',[]) |
14 |
|
seBlackList = cfg_params.get('EDG.se_black_list',[]) |
15 |
|
self.blackWhiteListParser = SEBlackWhiteListParser(seWhiteList, seBlackList, common.logger) |
16 |
+ |
self.datasetpath=self.cfg_params['CMSSW.datasetpath'] |
17 |
+ |
if string.lower(self.datasetpath)=='none': |
18 |
+ |
self.datasetpath = None |
19 |
|
|
20 |
|
return |
21 |
|
|
51 |
|
count=0 |
52 |
|
for distDest in distinct_dests: |
53 |
|
dest = self.blackWhiteListParser.cleanForBlackWhiteList(distDest) |
54 |
< |
if not dest: |
54 |
> |
if not dest and self.datasetpath: |
55 |
|
common.logger.message('No destination available: will not create jdl \n' ) |
56 |
|
continue |
57 |
|
all_jobs.append(common._db.queryAttrJob({'dlsDestination':distDest},'jobId')) |