# | 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 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |