project: configured author keys should be converted to unicode.
authorW. Trevor King <wking@tremily.us>
Sat, 20 Oct 2012 01:18:52 +0000 (21:18 -0400)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Oct 2012 01:49:35 +0000 (21:49 -0400)
update_copyright/project.py

index 34631e9206f506a70466a8a9ec39f7edfc18b13a..679f56982c0ff68159517a16ac0a7606de4a730d 100644 (file)
@@ -159,6 +159,7 @@ class Project (object):
         aliases = {}
         for author in parser.options('aliases'):
             _aliases = parser.get('aliases', author)
+            author = unicode(author, encoding)
             aliases[author] = set(
                 unicode(a.strip(), encoding) for a in _aliases.split(','))
         self._aliases = aliases