# HG changeset patch # User Gregory Szorc # Date 2022-02-21 18:12:47 # Node ID 278030cc93536a094192087bb3bb35ea7a27cabc # Parent ceafb0f8125061d8d9e64b2f22ec4f7651fd214b templatefuncs: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12334 diff --git a/mercurial/templatefuncs.py b/mercurial/templatefuncs.py --- a/mercurial/templatefuncs.py +++ b/mercurial/templatefuncs.py @@ -88,7 +88,7 @@ def dict_(context, mapping, args): 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)