mercurial/match.py
changeset 43106 d783f945a701
parent 43085 eef9a2d67051
child 43117 8ff1ecfadcd1
--- a/mercurial/match.py	Sun Oct 06 19:25:18 2019 -0400
+++ b/mercurial/match.py	Mon Oct 07 00:04:04 2019 -0400
@@ -1617,7 +1617,7 @@
             continue
 
         linesyntax = syntax
-        for s, rels in syntaxes.iteritems():
+        for s, rels in pycompat.iteritems(syntaxes):
             if line.startswith(rels):
                 linesyntax = rels
                 line = line[len(rels) :]