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.6 by gutsche, Thu Apr 26 16:38:08 2007 UTC

# Line 90 | Line 90 | class DataDiscovery_DBS2:
90          try:
91              dbs_url=self.cfg_params['CMSSW.dbs_url']
92          except KeyError:
93 <            dbs_url="http://cmsdoc.cern.ch/cms/test/aprom/DBS/CGIServer/prodquery"
93 >            dbs_url="http://cmsdbsprod.cern.ch/cms_dbs_prod_global/servlet/DBSServlet"
94 >
95 >        ## get DBS URL
96 >        try:
97 >            dbs_version=self.cfg_params['CMSSW.dbs_version']
98 >        except KeyError:
99 >            dbs_version="v00_00_06"
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