infinitepush: remove pycompat.iteritems()
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 21 Feb 2022 11:05:42 -0700
changeset 49006 78911231ed33
parent 49005 417a1691a273
child 49007 bac59722c5a3
infinitepush: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12320
hgext/infinitepush/__init__.py
--- a/hgext/infinitepush/__init__.py	Tue Mar 01 20:44:59 2022 -0800
+++ b/hgext/infinitepush/__init__.py	Mon Feb 21 11:05:42 2022 -0700
@@ -405,7 +405,7 @@
 
 def wireprotolistkeyspatterns(repo, proto, namespace, patterns):
     patterns = wireprototypes.decodelist(patterns)
-    d = pycompat.iteritems(repo.listkeys(encoding.tolocal(namespace), patterns))
+    d = repo.listkeys(encoding.tolocal(namespace), patterns).items()
     return pushkey.encodekeys(d)