Git repository of Karesansui.
Revision | 877a1d7848d797be795be3ca3993d6885795719d (tree) |
---|---|
Time | 2011-06-22 15:34:56 |
Author | ![]() |
Commiter | Junichi Shinohara |
Fixed a bug when parsing a file that contains the percentage.
@@ -31,7 +31,8 @@ class ConfigFile(SecureFile): | ||
31 | 31 | |
32 | 32 | class iniConfigFile(ConfigFile): |
33 | 33 | def do_read(self, conf_file): |
34 | - conf = ConfigParser.SafeConfigParser() | |
34 | + conf = ConfigParser.ConfigParser() | |
35 | + | |
35 | 36 | conf.readfp(conf_file) |
36 | 37 | retval = {} |
37 | 38 | for section in conf.sections(): |