From e9ce55f71235c2ec5d80e74f01d437d0319bf79b Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 19 Oct 2012 21:18:52 -0400 Subject: [PATCH] project: configured author keys should be converted to unicode. --- update_copyright/project.py | 1 + 1 file changed, 1 insertion(+) 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 -- 2.26.2