From: W. Trevor King Date: Sat, 20 Oct 2012 01:18:52 +0000 (-0400) Subject: project: configured author keys should be converted to unicode. X-Git-Tag: v0.5~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e9ce55f71235c2ec5d80e74f01d437d0319bf79b;p=update-copyright.git project: configured author keys should be converted to unicode. --- diff --git a/update_copyright/project.py b/update_copyright/project.py index 34631e9..679f569 100644 --- a/update_copyright/project.py +++ b/update_copyright/project.py @@ -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