templatefuncs: remove pycompat.iteritems()
authorGregory Szorc <gregory.szorc@gmail.com>
Mon, 21 Feb 2022 11:12:47 -0700
changeset 48929 278030cc9353
parent 48928 ceafb0f81250
child 48930 e6df205a876c
templatefuncs: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12334
mercurial/templatefuncs.py
--- a/mercurial/templatefuncs.py	Mon Feb 21 11:12:26 2022 -0700
+++ b/mercurial/templatefuncs.py	Mon Feb 21 11:12:47 2022 -0700
@@ -88,7 +88,7 @@
 
     data.update(
         (k, evalfuncarg(context, mapping, v))
-        for k, v in pycompat.iteritems(args[b'kwargs'])
+        for k, v in args[b'kwargs'].items()
     )
     return templateutil.hybriddict(data)