--- a/mercurial/hgweb/webcommands.py Sun Oct 06 19:25:18 2019 -0400
+++ b/mercurial/hgweb/webcommands.py Mon Oct 07 00:04:04 2019 -0400
@@ -564,7 +564,7 @@
l = len(path)
abspath = b"/" + path
- for full, n in mf.iteritems():
+ for full, n in pycompat.iteritems(mf):
# the virtual path (working copy path) used for the full
# (repository) path
f = decodepath(full)
@@ -1525,7 +1525,7 @@
early, other = [], []
primary = lambda s: s.partition(b'|')[0]
- for c, e in commands.table.iteritems():
+ for c, e in pycompat.iteritems(commands.table):
doc = _getdoc(e)
if b'DEPRECATED' in doc or c.startswith(b'debug'):
continue