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:
d50736b
)
vcs:utils: some VCSs (e.g. Git) return sets of authors.
author
W. Trevor King
<wking@tremily.us>
Sat, 20 Oct 2012 01:10:23 +0000
(21:10 -0400)
committer
W. Trevor King
<wking@tremily.us>
Sat, 20 Oct 2012 01:10:23 +0000
(21:10 -0400)
update_copyright/vcs/utils.py
patch
|
blob
|
history
diff --git
a/update_copyright/vcs/utils.py
b/update_copyright/vcs/utils.py
index b497928597ad971931dca1f2368e6929efda5956..40406d64ad8af4e9d75a6276c61f497b4af3de9e 100644
(file)
--- a/
update_copyright/vcs/utils.py
+++ b/
update_copyright/vcs/utils.py
@@
-162,6
+162,7
@@
def replace_aliases(authors, with_email=True, aliases=None):
if aliases == None:
aliases = ALIASES
rev_aliases = reverse_aliases(aliases)
+ authors = list(authors)
for i,author in enumerate(authors):
if author in rev_aliases:
authors[i] = rev_aliases[author]