projects
/
update-copyright.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60a30e7
)
project: configured author keys should be converted to unicode.
author
W. Trevor King
<wking@tremily.us>
Sat, 20 Oct 2012 01:18:52 +0000
(21:18 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sat, 20 Oct 2012 01:49:35 +0000
(21:49 -0400)
update_copyright/project.py
patch
|
blob
|
history
diff --git
a/update_copyright/project.py
b/update_copyright/project.py
index 34631e9206f506a70466a8a9ec39f7edfc18b13a..679f56982c0ff68159517a16ac0a7606de4a730d 100644
(file)
--- 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