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:
|
if filename is None:
|
||||||
filename = self.filename
|
filename = self.filename
|
||||||
if filename and os.path.exists(filename):
|
if filename and os.path.exists(filename):
|
||||||
parser = ConfigParser.ConfigParser()
|
parser = ConfigParser.RawConfigParser()
|
||||||
parser.read(filename)
|
parser.read(filename)
|
||||||
for sec in parser.sections():
|
for sec in parser.sections():
|
||||||
name = sec.lower()
|
name = sec.lower()
|
||||||
|
Loading…
Reference in New Issue
Block a user