From 559571c0bcbe7af5f27778adffae4ff4d842cba8 Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Wed, 14 Mar 2012 21:40:28 -0400 Subject: [PATCH] Fix line -> date typo from incomplete splitout of GitBackend._dates(). --- update_copyright/vcs/git.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update_copyright/vcs/git.py b/update_copyright/vcs/git.py index fd6b85f..1b58ed8 100644 --- a/update_copyright/vcs/git.py +++ b/update_copyright/vcs/git.py @@ -53,7 +53,7 @@ class GitBackend (_VCSBackend): def _years(self, filename=None): dates = self._dates(filename=filename) - years = set(int(line.split('-', 1)[0]) for date in dates) + years = set(int(date.split('-', 1)[0]) for date in dates) return years def _authors(self, filename=None): -- 2.26.2