mercurial/exchangev2.py
changeset 43104 74802979dd9d
parent 43077 687b865b95ad
child 43106 d783f945a701
--- a/mercurial/exchangev2.py	Sun Oct 06 17:45:05 2019 -0400
+++ b/mercurial/exchangev2.py	Sun Oct 06 17:59:15 2019 -0400
@@ -607,7 +607,7 @@
     progress = repo.ui.makeprogress(
         _(b'files'),
         unit=_(b'chunks'),
-        total=sum(len(v) for v in fnodes.itervalues()),
+        total=sum(len(v) for v in pycompat.itervalues(fnodes)),
     )
 
     # TODO make batch size configurable
@@ -706,7 +706,7 @@
     progress = repo.ui.makeprogress(
         _(b'files'),
         unit=_(b'chunks'),
-        total=sum(len(v) for v in fnodes.itervalues()),
+        total=sum(len(v) for v in pycompat.itervalues(fnodes)),
     )
 
     commandmeta = remote.apidescriptor[b'commands'][b'filesdata']