From: Patrick Uiterwijk Date: Tue, 24 Feb 2015 16:48:24 +0000 (+0100) Subject: Make the configparser case sensitive. X-Git-Tag: v0.4.0~9 X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=commitdiff_plain;h=4d234dc3956e8ac72d8e0eccc3c0d9594d1c85f8 Make the configparser case sensitive. Per the instructions of https://docs.python.org/2/library/configparser.html#ConfigParser.RawConfigParser.optionxform Signed-off-by: Patrick Uiterwijk Reviewed-by: Simo Sorce --- diff --git a/ipsilon/util/data.py b/ipsilon/util/data.py index 20dd6aa..94d402b 100644 --- a/ipsilon/util/data.py +++ b/ipsilon/util/data.py @@ -136,6 +136,7 @@ class FileStore(Log): timestamp = stat.st_mtime if self._config is None or timestamp > self._timestamp: self._config = ConfigParser.RawConfigParser() + self._config.optionxform = str self._config.read(self._filename) return self._config