From 4d234dc3956e8ac72d8e0eccc3c0d9594d1c85f8 Mon Sep 17 00:00:00 2001 From: Patrick Uiterwijk Date: Tue, 24 Feb 2015 17:48:24 +0100 Subject: [PATCH] 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 --- ipsilon/util/data.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.20.1