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.1 by farinafa, Tue Mar 18 17:58:28 2008 UTC vs.
Revision 1.2 by spiga, Thu Mar 20 11:28:42 2008 UTC

# Line 7 | Line 7 | import urllib
7   import os, time
8  
9   class ServerConfig:
10 <    def __init__(self, serverName='LXB'):
10 >    def __init__(self, serverName):
11          common.logger.debug(5,'Calling ServerConfig')
12          self.url = 'http://cmsdoc.cern.ch/cms/ccs/wm/www/Crab/useful_script/Server_conf/'
13 <        self.configFileName = 'Server_%s.conf'%str(serverName)
13 >        self.configFileName = '%s.conf'%string.lower(serverName)
14          localCfg = self.getConfig_()
15  
16          # parse the localCfg file

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines