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

Comparing COMP/CRAB/python/DataDiscovery.py (file contents):
Revision 1.23 by spiga, Mon Jun 9 17:50:45 2008 UTC vs.
Revision 1.24 by spiga, Mon Jun 16 10:44:33 2008 UTC

# Line 116 | Line 116 | class DataDiscovery:
116          fileBlocks_FileName = os.path.abspath(self.cfg_params.get('CMSSW.fileblocks_file',defaultName))
117  
118          api = DBSAPI.dbsApi.DbsApi(args)
119 +        allowedRetriveValue = ['retrive_parent',
120 +                               'retrive_block',
121 +                               'retrive_lumi',
122 +                               'retrive_run'
123 +                               ]
124          try:
125              if len(runselection) <= 0 :
126                  if useParent:
122                    allowedRetriveValue = ['retrive_parent',
123                                           'retrive_block',
124                                           'retrive_lumi',
125                                           'retrive_run'
126                                           ]
127                      files = api.listFiles(path=self.datasetPath, retriveList=allowedRetriveValue)
128                      common.logger.debug(5,"Set of input parameters used for DBS query : \n"+str(allowedRetriveValue))
129                      common.logger.write("Set of input parameters used for DBS query : \n"+str(allowedRetriveValue))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines