From: Dave Borowitz <[email protected]>

Change-Id: I05e314cbd62abf8cc78d355892b0678b6637576d
---
 dulwich/object_store.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dulwich/object_store.py b/dulwich/object_store.py
index 725504f..c1716bd 100644
--- a/dulwich/object_store.py
+++ b/dulwich/object_store.py
@@ -191,7 +191,7 @@ class BaseObjectStore(object):
             if not is_subtree or include_trees:
                 yield path, mode, hexsha
             if is_subtree:
-                entries = reversed(self[hexsha].iteritems())
+                entries = reversed(list(self[hexsha].iteritems()))
                 for name, entry_mode, entry_hexsha in entries:
                     entry_path = posixpath.join(path, name)
                     todo.append((entry_path, entry_mode, entry_hexsha))
-- 
1.7.1


_______________________________________________
Mailing list: https://launchpad.net/~dulwich-users
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~dulwich-users
More help   : https://help.launchpad.net/ListHelp

Reply via email to