hgext/largefiles/remotestore.py
changeset 43105 649d3ac37a12
parent 43077 687b865b95ad
child 44470 9d2b2df2c2ba
--- a/hgext/largefiles/remotestore.py	Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/largefiles/remotestore.py	Sun Oct 06 19:25:18 2019 -0400
@@ -11,6 +11,7 @@
 
 from mercurial import (
     error,
+    pycompat,
     util,
 )
 
@@ -49,7 +50,9 @@
     def exists(self, hashes):
         return dict(
             (h, s == 0)
-            for (h, s) in self._stat(hashes).iteritems()  # dict-from-generator
+            for (h, s) in pycompat.iteritems(
+                self._stat(hashes)
+            )  # dict-from-generator
         )
 
     def sendfile(self, filename, hash):