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

Comparing COMP/CRAB/python/DataDiscovery_DBS2.py (file contents):
Revision 1.2 by gutsche, Wed Feb 7 00:15:38 2007 UTC vs.
Revision 1.4 by gutsche, Wed Feb 7 16:59:18 2007 UTC

# Line 92 | Line 92 | class DataDiscovery_DBS2:
92          except KeyError:
93              dbs_url="http://cmsdoc.cern.ch/cms/test/aprom/DBS/CGIServer/prodquery"
94  
95 +        ## get DBS URL
96 +        try:
97 +            dbs_version=self.cfg_params['CMSSW.dbs_version']
98 +        except KeyError:
99 +            dbs_version="v00_00_05"
100 +
101          ## service API
102          args = {}
103 <        args['url']=dbs_url
104 <
105 <        common.logger.debug(3,"Accessing DBS at: "+dbs_url)
103 >        args['url']     = dbs_url
104 >        args['version'] = dbs_version
105 >        args['level']   = 'CRITICAL'
106  
107          api = DBSAPI.dbsApi.DbsApi(args)
108          try:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines