From ff906116476dd7a654b7064e5752a3a78de94faf Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 16 Feb 2012 14:31:11 -0500 Subject: [PATCH] Fix year_hacks -> self._year_hacks typo in VCSBackend.original_year(). --- update_copyright/vcs/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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] -- 2.26.2