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:
494671b
)
Rename authors -> _authors in VCSBackend.authors() loop to avoid clobber.
author
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 19:47:23 +0000
(14:47 -0500)
committer
W. Trevor King
<wking@drexel.edu>
Thu, 16 Feb 2012 19:47:23 +0000
(14:47 -0500)
The previous version had been clobbering the raw VCS results.
update_copyright/vcs/__init__.py
patch
|
blob
|
history
diff --git
a/update_copyright/vcs/__init__.py
b/update_copyright/vcs/__init__.py
index 1133795a3564147d850afeca8c2ac33298195aaf..17281ab34886b293db1d4cacc54c24cd40568b36 100644
(file)
--- a/
update_copyright/vcs/__init__.py
+++ b/
update_copyright/vcs/__init__.py
@@
-53,8
+53,8
@@
class VCSBackend (object):
def authors(self, filename=None, with_emails=True):
authors = self._authors(filename=filename)
if filename is None:
- for path,authors in self._author_hacks.items():
- authors.update(authors)
+ for path,
_
authors in self._author_hacks.items():
+ authors.update(
_
authors)
elif _utils.splitpath(filename) in self._author_hacks:
authors.update(self._author_hacks[_utils.splitpath(filename)])
return _utils.replace_aliases(