]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/git.py
Return integers, not strings from get_commit_dates()
[bup.git] / lib / bup / git.py
index 2552c45fdcac4321b0b9f9718192b3353e4b2eb7..1e2364aaf3b924e114eb6e264c34cd0eceb943db 100644 (file)
@@ -764,7 +764,7 @@ def get_commit_dates(refs):
     result = []
     cmd = ['git', 'show', '-s', '--pretty=format:%ct']
     for chunk in batchpipe(cmd, refs, preexec_fn=_gitenv):
-        result += chunk.splitlines()
+        result += [int(x) for x in chunk.splitlines()]
     return result