changeset 49020:278030cc9353

templatefuncs: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12334
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 11:12:47 -0700
parents ceafb0f81250
children e6df205a876c
files mercurial/templatefuncs.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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)