diff --git a/bin/check-copyright b/bin/check-copyright index 4a29f2c2e..6698e3fda 100755 --- a/bin/check-copyright +++ b/bin/check-copyright @@ -162,7 +162,7 @@ def get_first_commit(path): else: pass except OSError: - rev, who, when = None, None, timezone.now() + rev, who, when = None, None, datetime.datetime.now() return { path: { 'rev': rev, 'who': who, 'date': when.strftime('%Y-%m-%d %H:%M:%S'), }, }