hgext/strip.py
changeset 43105 649d3ac37a12
parent 43089 c59eb1560c44
child 43117 8ff1ecfadcd1
--- a/hgext/strip.py	Sun Oct 06 17:59:15 2019 -0400
+++ b/hgext/strip.py	Sun Oct 06 19:25:18 2019 -0400
@@ -206,7 +206,7 @@
             # a revision we have to only delete the bookmark and not strip
             # anything. revsets cannot detect that case.
             nodetobookmarks = {}
-            for mark, node in repomarks.iteritems():
+            for mark, node in pycompat.iteritems(repomarks):
                 nodetobookmarks.setdefault(node, []).append(mark)
             for marks in nodetobookmarks.values():
                 if bookmarks.issuperset(marks):