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

Comparing COMP/CRAB/python/ServerConfig.py (file contents):
Revision 1.16 by slacapra, Tue Dec 16 11:43:18 2008 UTC vs.
Revision 1.17 by slacapra, Wed Jan 14 17:19:53 2009 UTC

# Line 10 | Line 10 | class ServerConfig:
10      def __init__(self, serverName):
11          import string
12          serverName = string.lower(serverName)
13 <        common.logger.debug(5,'Calling ServerConfig')
13 >        common.logger.debug(5,'Calling ServerConfig '+serverName)
14   #        self.url = 'http://cmsdoc.cern.ch/cms/ccs/wm/www/Crab/useful_script/'
15  
16          self.url ='https://cmsweb.cern.ch/crabconf/files/'
# Line 51 | Line 51 | class ServerConfig:
51          if not l:
52              l = str('{}')
53          self.theConfig = eval(l)
54 +        self.theConfig['serverGenericName']=serverName
55          pass
56          
57      def config(self):

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines