hgext/remotefilelog/datapack.py
changeset 43105 649d3ac37a12
parent 43077 687b865b95ad
child 44452 9d2b2df2c2ba
--- a/hgext/remotefilelog/datapack.py	Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/remotefilelog/datapack.py	Sun Oct 06 19:25:18 2019 -0400
@@ -452,7 +452,7 @@
 
     def createindex(self, nodelocations, indexoffset):
         entries = sorted(
-            (n, db, o, s) for n, (db, o, s) in self.entries.iteritems()
+            (n, db, o, s) for n, (db, o, s) in pycompat.iteritems(self.entries)
         )
 
         rawindex = b''