]> arthur.barton.de Git - bup.git/blobdiff - cmd/tag-cmd.py
Migrate all xrange calls to range in bup.compat
[bup.git] / cmd / tag-cmd.py
index f065904d78397c3c66e34a988f2bf560b866f621..4e09870856adafb0894c1f7c2fd612e9eeb7c947 100755 (executable)
@@ -5,11 +5,11 @@ exec "$bup_python" "$0" ${1+"$@"}
 """
 # end of bup preamble
 
-import sys
-import os
+from __future__ import absolute_import, print_function
+import os, sys
 
 from bup import git, options
-from bup.helpers import *
+from bup.helpers import debug1, handle_ctrl_c, log
 
 # FIXME: review for safe writes.
 
@@ -45,7 +45,7 @@ if opt.delete:
 
 if not extra:
     for t in tags:
-        print t
+        print(t)
     sys.exit(0)
 elif len(extra) < 2:
     o.fatal('no commit ref or hash given.')