From: W. Trevor King Date: Sat, 20 Oct 2012 01:15:26 +0000 (-0400) Subject: project: preserve case in .update-copyright.conf options. X-Git-Tag: v0.5~23 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=60a30e7de956a506b79e566a14a95a15b4b10616;p=update-copyright.git project: preserve case in .update-copyright.conf options. This is important for aliases in particular. --- diff --git a/update_copyright/project.py b/update_copyright/project.py index ac0e484..34631e9 100644 --- a/update_copyright/project.py +++ b/update_copyright/project.py @@ -59,6 +59,7 @@ class Project (object): def load_config(self, stream): parser = _configparser.RawConfigParser() + parser.optionxform = str parser.readfp(stream) for section in parser.sections(): clean_section = section.replace('-', '_')