project: preserve case in .update-copyright.conf options.
authorW. Trevor King <wking@tremily.us>
Sat, 20 Oct 2012 01:15:26 +0000 (21:15 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Oct 2012 01:15:26 +0000 (21:15 -0400)
This is important for aliases in particular.

update_copyright/project.py

index ac0e4845f585bf2653a313da0022fbc33524f059..34631e9206f506a70466a8a9ec39f7edfc18b13a 100644 (file)
@@ -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('-', '_')