hgext/fastannotate/protocol.py
changeset 43105 649d3ac37a12
parent 43085 eef9a2d67051
child 46946 b6b696442a4d
--- a/hgext/fastannotate/protocol.py	Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/fastannotate/protocol.py	Sun Oct 06 19:25:18 2019 -0400
@@ -15,6 +15,7 @@
     error,
     extensions,
     hg,
+    pycompat,
     util,
     wireprotov1peer,
     wireprotov1server,
@@ -188,7 +189,7 @@
         for result in results:
             r = result.result()
             # TODO: pconvert these paths on the server?
-            r = {util.pconvert(p): v for p, v in r.iteritems()}
+            r = {util.pconvert(p): v for p, v in pycompat.iteritems(r)}
             for path in sorted(r):
                 # ignore malicious paths
                 if not path.startswith(b'fastannotate/') or b'/../' in (