]> arthur.barton.de Git - bup.git/blobdiff - lib/cmd/version-cmd.py
version: fix --date argument for py3
[bup.git] / lib / cmd / version-cmd.py
index dac15e856cd728e53a0ff6f823500a829bf55350..bc1329c7cce8bf5c4ca230894ce1da3242b69d14 100755 (executable)
@@ -42,7 +42,7 @@ sys.stdout.flush()
 out = byte_stream(sys.stdout)
 
 if opt.date:
-    out.write(version.date.split(' ')[0] + b'\n')
+    out.write(version.date.split(b' ')[0] + b'\n')
 elif opt.commit:
     out.write(version.commit + b'\n')
 else: