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.18 by slacapra, Fri Nov 16 11:09:31 2007 UTC vs.
Revision 1.19 by slacapra, Fri Jan 4 17:30:56 2008 UTC

# Line 88 | Line 88 | class DataDiscovery:
88          """
89  
90          ## get DBS URL
91 <        try:
91 >        dbs_url="http://cmsdbsprod.cern.ch/cms_dbs_prod_global/servlet/DBSServlet"
92 >        if (self.cfg_params.has_key('CMSSW.dbs_url')):
93              dbs_url=self.cfg_params['CMSSW.dbs_url']
93        except KeyError:
94            dbs_url="http://cmsdbsprod.cern.ch/cms_dbs_prod_global/servlet/DBSServlet"
94  
95          common.logger.debug(3,"Accessing DBS at: "+dbs_url)
96  
97          ## check if runs are selected
98 <        try:
98 >        runselection = []
99 >        if (self.cfg_params.has_key('CMSSW.runselection')):
100              runselection = parseRange2(self.cfg_params['CMSSW.runselection'])
101        except:
102            runselection = []
101  
102          ## service API
103          args = {}

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines