changeset 40613 | 9769e0f6ffe0 |
parent 40611 | 5e3b3f88c2e4 |
child 40614 | aa588bf40a08 |
--- a/hgext/remotefilelog/basepack.py Tue Nov 13 18:07:21 2018 +0300 +++ b/hgext/remotefilelog/basepack.py Tue Nov 13 18:08:17 2018 +0300 @@ -468,7 +468,7 @@ # Precompute the location of each entry locations = {} count = 0 - for node in sorted(self.entries.iterkeys()): + for node in sorted(self.entries): location = count * self.INDEXENTRYLENGTH locations[node] = location count += 1