infinitepush: remove pycompat.iteritems()
Differential Revision: https://phab.mercurial-scm.org/D12320
--- 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)