projects
/
update-copyright.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vcs:utils: some VCSs (e.g. Git) return sets of authors.
[update-copyright.git]
/
update_copyright
/
vcs
/
utils.py
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]