]> arthur.barton.de Git - bup.git/blobdiff - cmd/midx-cmd.py
Officially drop support for Python 2.4.
[bup.git] / cmd / midx-cmd.py
index bbbee079f6097b6083f1ba60571aa8ee3499a04d..1243c8d5e63b6f65531a4beb8ee3b491f6486a62 100755 (executable)
@@ -123,7 +123,7 @@ def _do_midx(outdir, outfilename, infilenames, prefixstr):
     count = merge_into(fmap, bits, total, inp)
     del fmap
 
-    f.seek(0, git.SEEK_END)
+    f.seek(0, os.SEEK_END)
     f.write('\0'.join(allfilenames))
     f.close()
     os.rename(outfilename + '.tmp', outfilename)