summaryrefslogtreecommitdiff
path: root/scripts/check-copyright-year
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2012-03-19 17:20:40 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2012-03-19 17:20:40 +0000
commit41493547ab5c8ce2fd2eb160f607cd2c154f0a13 (patch)
treef5d25e2ec3ea92c5f7fb51d0fb206f09f5486e91 /scripts/check-copyright-year
parent08d0ac23634bcbeb15b709827dfa58f9d9947ca7 (diff)
downloadmorph-41493547ab5c8ce2fd2eb160f607cd2c154f0a13.tar.gz
formatting: fix overly wide code
Diffstat (limited to 'scripts/check-copyright-year')
-rwxr-xr-xscripts/check-copyright-year3
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])