Fix commit_index.
authorJelmer Vernooij <jelmer@samba.org>
Tue, 19 May 2009 20:30:50 +0000 (22:30 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Tue, 19 May 2009 20:30:50 +0000 (22:30 +0200)
dulwich/index.py

index 4d989fb41c10e9de3ead4ae42090a09643180878..22582c644a2b4ddafc3913e2a9c9d415745149eb 100644 (file)
@@ -258,4 +258,4 @@ def commit_tree(object_store, blobs):
 
 
 def commit_index(object_store, index):
-    return commit_tree(object_store, index.blobs())
+    return commit_tree(object_store, index.iterblobs())