]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/t/tgit.py
git.py: support the old git pack .idx version 1 format.
[bup.git] / lib / bup / t / tgit.py
index 83faadc5ea54e6d94c4778d382e3d9019eca58bf..c61b351881201b4bee4c2e479056c7a50332b92a 100644 (file)
@@ -70,7 +70,7 @@ def testpacks():
     WVPASS(os.path.exists(nameprefix + '.pack'))
     WVPASS(os.path.exists(nameprefix + '.idx'))
 
-    r = git.PackIdx(nameprefix + '.idx')
+    r = git.open_idx(nameprefix + '.idx')
     print repr(r.fanout)
 
     for i in range(nobj):