Use RawConfigParser so that it doesn't try to format string
svn: r13396
This commit is contained in:
parent
40b9c7a7ca
commit
131f5396b6
@ -153,7 +153,7 @@ class ConfigManager(object):
|
||||
if filename is None:
|
||||
filename = self.filename
|
||||
if filename and os.path.exists(filename):
|
||||
parser = ConfigParser.ConfigParser()
|
||||
parser = ConfigParser.RawConfigParser()
|
||||
parser.read(filename)
|
||||
for sec in parser.sections():
|
||||
name = sec.lower()
|
||||
|
Loading…
Reference in New Issue
Block a user