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

Comparing COMP/CRAB/python/DLSInfo.py (file contents):
Revision 1.15 by spiga, Mon Mar 19 14:52:05 2007 UTC vs.
Revision 1.16 by gutsche, Thu Apr 26 19:26:04 2007 UTC

# Line 72 | Line 72 | class DLSInfo:
72                  endpoint=self.cfg_params['CMSSW.dls_endpoint']
73              except KeyError:
74                  endpoint="lxgate10.cern.ch:18081"
75 +        elif type=="DLS_TYPE_DBS":
76 +            try:
77 +                endpoint=self.cfg_params['CMSSW.dls_endpoint']
78 +            except KeyError:
79 +                endpoint="http://cmsdbsprod.cern.ch/cms_dbs_prod_global/servlet/DBSServlet"
80          else:
81              msg = "DLS type %s not among the supported DLS ( DLS_TYPE_DLI and DLS_TYPE_MYSQL ) "%type
82              raise CrabException(msg)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines