]> arthur.barton.de Git - bup.git/blobdiff - cmd/tag-cmd.py
vint: remove unnecessary condition
[bup.git] / cmd / tag-cmd.py
index 4e09870856adafb0894c1f7c2fd612e9eeb7c947..2fc068ddc7189eb535a31def25681480fc7cc9cb 100755 (executable)
@@ -79,7 +79,7 @@ if not pL.exists(hash):
 
 tag_file = git.repo('refs/tags/%s' % tag_name)
 try:
-    tag = file(tag_file, 'w')
+    tag = open(tag_file, 'w')
 except OSError as e:
     log("bup: error: could not create tag '%s': %s" % (tag_name, e))
     sys.exit(3)