diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/check-copyright-year | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/check-copyright-year b/scripts/check-copyright-year index 2fed252e..beaca2ce 100755 --- a/scripts/check-copyright-year +++ b/scripts/check-copyright-year @@ -62,7 +62,8 @@ class CheckCopyrightYear(cliapp.Application): self.all_ok = self.all_ok and ok def get_git_commit_year(self, filename): - out = self.runcmd(['git', 'log', '-1', '--format=format:%cd', filename]) + out = self.runcmd(['git', 'log', '-1', '--format=format:%cd', + filename]) words = out.split() return int(words[4]) |