mercurial/match.py
changeset 49004 f254fc73d956
parent 48975 7f5e91cdebcd
child 49032 fd5b8e696b75
--- a/mercurial/match.py	Thu Mar 03 17:39:20 2022 -0800
+++ b/mercurial/match.py	Thu Mar 03 18:28:30 2022 -0800
@@ -1638,7 +1638,7 @@
             continue
 
         linesyntax = syntax
-        for s, rels in pycompat.iteritems(syntaxes):
+        for s, rels in syntaxes.items():
             if line.startswith(rels):
                 linesyntax = rels
                 line = line[len(rels) :]