From 28e44f9d6ea846dc6ae4fe8f1bb6cdcbe6e997e2 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Fri, 19 Oct 2012 21:10:23 -0400 Subject: [PATCH] vcs:utils: some VCSs (e.g. Git) return sets of authors. --- update_copyright/vcs/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/update_copyright/vcs/utils.py b/update_copyright/vcs/utils.py index b497928..40406d6 100644 --- 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] -- 2.26.2