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

Comparing COMP/CRAB/python/DataDiscovery_EDM.py (file contents):
Revision 1.1 by gutsche, Sun May 28 02:20:49 2006 UTC vs.
Revision 1.2 by afanfani, Tue May 30 00:48:37 2006 UTC

# Line 56 | Line 56 | class DataDiscovery_EDM:
56          Contact DBS
57          """
58  
59 <        ## get info about the requested dataset
60 <        dbs = DBSInfo_EDM()
59 >        ## get info about the requested dataset
60 >        try:
61 >            dbs_instance=self.cfg_params['CMSSW.dbs_instance']
62 >        except KeyError:
63 >            dbs_instance="MCLocal/Writer"
64 >
65 >        dbs = DBSInfo_EDM(dbs_instance)
66          self.datasets = dbs.getMatchingDatasets(self.datasetPath)
67          if len(self.datasets) == 0:
68            raise DataDiscoveryError("DatasetPath=%s unknown to DBS" %self.datasetPath)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines