changeset 48915:78911231ed33

infinitepush: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12320
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 11:05:42 -0700
parents 417a1691a273
children bac59722c5a3
files hgext/infinitepush/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)