diff options
author | Patrick Uiterwijk <puiterwijk@redhat.com> | 2015-02-24 17:48:24 +0100 |
---|---|---|
committer | Simo Sorce <simo@redhat.com> | 2015-02-24 12:58:45 -0500 |
commit | 4d234dc3956e8ac72d8e0eccc3c0d9594d1c85f8 (patch) | |
tree | 53dc60634b5e31349d4e372dc17119f8089ac38f | |
parent | 83f4cfcb6ee62348b25f0db9a771a10628fc57a6 (diff) | |
download | ipsilon-4d234dc3956e8ac72d8e0eccc3c0d9594d1c85f8.tar.gz ipsilon-4d234dc3956e8ac72d8e0eccc3c0d9594d1c85f8.tar.xz ipsilon-4d234dc3956e8ac72d8e0eccc3c0d9594d1c85f8.zip |
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 <puiterwijk@redhat.com>
Reviewed-by: Simo Sorce <simo@redhat.com>
-rw-r--r-- | ipsilon/util/data.py | 1 |
1 files changed, 1 insertions, 0 deletions
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 |