Skip to content

Commit

Permalink
Merge pull request #2426 from vlimant/DBS2DAS-ConfigBuilder-4.4
Browse files Browse the repository at this point in the history
fix for --filein das: --filein dbs: options
  • Loading branch information
nclopezo committed Feb 12, 2014
2 parents ec06847 + e5cdad6 commit a534400
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configuration/PyReleaseValidation/python/ConfigBuilder.py
Expand Up @@ -302,7 +302,7 @@ def filesFromOption(self):
if entry.startswith("filelist:"):
filesFromList(entry[9:],self.process.source)
elif entry.startswith("dbs:") or entry.startswith("das:"):
filesFromDASQuery(entry[4:],self.process.source)
filesFromDASQuery('file dataset=%s'%entry[4:],self.process.source)
else:
self.process.source.fileNames.append(self._options.dirin+entry)
if self._options.secondfilein:
Expand All @@ -313,7 +313,7 @@ def filesFromOption(self):
if entry.startswith("filelist:"):
self.process.source.secondaryFileNames.extend((filesFromList(entry[9:]))[0])
elif entry.startswith("dbs:") or entry.startswith("das:"):
self.process.source.secondaryFileNames.extend((filesFromDASQuery(entry[4:]))[0])
self.process.source.secondaryFileNames.extend((filesFromDASQuery('file dataset='%entry[4:]))[0])
else:
self.process.source.secondaryFileNames.append(self._options.dirin+entry)

Expand Down

0 comments on commit a534400

Please sign in to comment.