changeset 48927:c17aee610bab

merge: remove pycompat.iteritems() Differential Revision: https://phab.mercurial-scm.org/D12332
author Gregory Szorc <gregory.szorc@gmail.com>
date Mon, 21 Feb 2022 11:11:59 -0700
parents 3d35e7483602
children ceafb0f81250
files mercurial/merge.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/merge.py	Mon Feb 21 11:11:27 2022 -0700
+++ b/mercurial/merge.py	Mon Feb 21 11:11:59 2022 -0700
@@ -625,9 +625,7 @@
                     args, msg = self._actionmapping[a][f]
                     yield f, args, msg
             else:
-                for f, (args, msg) in pycompat.iteritems(
-                    self._actionmapping[a]
-                ):
+                for f, (args, msg) in self._actionmapping[a].items():
                     yield f, args, msg
 
     def len(self, actions=None):