Use `with_emails` argument in `VCSBackend.authors()`.
[update-copyright.git] / update_copyright / vcs / __init__.py
index bd9248b55f7d105083c0b20a0496bfcc4999b9d9..f08d33d53b6835c22ad6a9d47d8917c927d057c1 100644 (file)
@@ -1,4 +1,20 @@
-# Copyright
+# Copyright (C) 2012 W. Trevor King
+#
+# This file is part of update-copyright.
+#
+# update-copyright is free software: you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation, either version 3 of the
+# License, or (at your option) any later version.
+#
+# update-copyright is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with update-copyright.  If not, see
+# <http://www.gnu.org/licenses/>.
 
 """Backends for version control systems."""
 
@@ -42,7 +58,7 @@ class VCSBackend (object):
         elif _utils.splitpath(filename) in self._author_hacks:
             authors.update(self._author_hacks[_utils.splitpath(filename)])
         return _utils.replace_aliases(
-            authors, with_email=False, aliases=self._aliases)
+            authors, with_email=with_emails, aliases=self._aliases)
 
     def is_versioned(self, filename=None):
         raise NotImplementedError()