From: W. Trevor King <wking@drexel.edu> Date: Thu, 16 Feb 2012 19:31:11 +0000 (-0500) Subject: Fix year_hacks -> self._year_hacks typo in VCSBackend.original_year(). X-Git-Tag: v0.3~5 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff906116476dd7a654b7064e5752a3a78de94faf;p=update-copyright.git Fix year_hacks -> self._year_hacks typo in VCSBackend.original_year(). --- diff --git a/update_copyright/vcs/__init__.py b/update_copyright/vcs/__init__.py index f08d33d..c4f69f7 100644 --- a/update_copyright/vcs/__init__.py +++ b/update_copyright/vcs/__init__.py @@ -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]