Commit 8e58383b authored by Vincent Pelletier's avatar Vincent Pelletier

Do not shadow "file" global. Found by pylint.


git-svn-id: https://svn.erp5.org/repos/neo/branches/prototype3@891 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 6482eb8a
...@@ -35,10 +35,10 @@ class ConfigurationManager: ...@@ -35,10 +35,10 @@ class ConfigurationManager:
# The default port to which master nodes listen when none is specified. # The default port to which master nodes listen when none is specified.
default_master_port = 10100 default_master_port = 10100
def __init__(self, file, section): def __init__(self, config_file, section):
parser = SafeConfigParser(self.default_config_dict) parser = SafeConfigParser(self.default_config_dict)
logging.debug('reading a configuration from %s', file) logging.debug('reading a configuration from %s', config_file)
parser.read(file) parser.read(config_file)
self.parser = parser self.parser = parser
self.section = section self.section = section
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment