Changeset - c4c2df844424
[Not reviewed]
default
0 1 0
Mads Kiilerich - 6 years ago 2019-12-26 04:07:03
mads@kiilerich.com
Grafted from: 63c54eaaa78e
py3: zip will return an iterator - apply list before reversing
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
kallithea/lib/vcs/backends/git/inmemory.py
Show inline comments
 
@@ -113,7 +113,7 @@ class GitInMemoryChangeset(BaseInMemoryC
 
                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
0 comments (0 inline, 0 general)