Use RawConfigParser so that it doesn't try to format string

svn: r13396
This commit is contained in:
Doug Blank 2009-10-23 03:28:19 +00:00
parent 40b9c7a7ca
commit 131f5396b6

View File

@ -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()