]> arthur.barton.de Git - bup.git/blobdiff - cmd/midx-cmd.py
Add vfs2 and rewrite restore to use it
[bup.git] / cmd / midx-cmd.py
index 8e0b87e1d948bf836b58c2b8d65e57122c00dda1..0224ab40238f3239c937d5b53f67e85a4802fa02 100755 (executable)
@@ -153,7 +153,7 @@ def _do_midx(outdir, outfilename, infilenames, prefixstr):
         print p.idxnames
         assert(len(p) == total)
         for pe, e in p, git.idxmerge(inp, final_progress=False):
-            pin = pi.next()
+            pin = next(pi)
             assert(i == pin)
             assert(p.exists(i))