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.3 by gutsche, Wed Feb 7 16:47:45 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
103 >        args['url']     = dbs_url
104 >        args['version'] = dbs_version
105  
106 <        common.logger.debug(3,"Accessing DBS at: "+dbs_url)
106 >        common.logger.debug(3,"Accessing DBS at: "+dbs_url+" with version: "+dbs_version)
107  
108          api = DBSAPI.dbsApi.DbsApi(args)
109          try:

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines