Fix year_hacks -> self._year_hacks typo in VCSBackend.original_year().
authorW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 19:31:11 +0000 (14:31 -0500)
committerW. Trevor King <wking@drexel.edu>
Thu, 16 Feb 2012 19:31:11 +0000 (14:31 -0500)
update_copyright/vcs/__init__.py

index f08d33d53b6835c22ad6a9d47d8917c927d057c1..c4f69f7c2f2317fe5b7285ff4a91d8c3fc9fce63 100644 (file)
@@ -43,7 +43,7 @@ class VCSBackend (object):
         if filename is None:
             years.update(self._year_hacks.values())
         elif _utils.splitpath(filename) in self._year_hacks:
-            years.update(year_hacks[_utils.splitpath(filename)])
+            years.update(self._year_hacks[_utils.splitpath(filename)])
         years = sorted(years)
         return years[0]