# HG changeset patch # User Mads Kiilerich # Date 1577329623 -3600 # Node ID c4c2df84442451413e9270e12caa1654bed7a8b4 # Parent 756e46bd926b94a1fbb6d04abe0b3369035ab5eb py3: zip will return an iterator - apply list before reversing diff -r 756e46bd926b -r c4c2df844424 kallithea/lib/vcs/backends/git/inmemory.py --- a/kallithea/lib/vcs/backends/git/inmemory.py Mon Nov 25 04:15:17 2019 +0100 +++ b/kallithea/lib/vcs/backends/git/inmemory.py Thu Dec 26 04:07:03 2019 +0100 @@ -113,7 +113,7 @@ except KeyError: break # Cut down the blob and all rotten trees on the way back... - for path, tree in reversed(zip(paths, trees)): + for path, tree in reversed(list(zip(paths, trees))): del tree[path] if tree: # This tree still has elements - don't remove it or any