diff -r a0674e916fb6 -r f254fc73d956 mercurial/hgweb/webcommands.py --- a/mercurial/hgweb/webcommands.py Thu Mar 03 17:39:20 2022 -0800 +++ b/mercurial/hgweb/webcommands.py Thu Mar 03 18:28:30 2022 -0800 @@ -563,7 +563,7 @@ l = len(path) abspath = b"/" + path - for full, n in pycompat.iteritems(mf): + for full, n in mf.items(): # the virtual path (working copy path) used for the full # (repository) path f = decodepath(full) @@ -1520,7 +1520,7 @@ early, other = [], [] primary = lambda s: s.partition(b'|')[0] - for c, e in pycompat.iteritems(commands.table): + for c, e in commands.table.items(): doc = _getdoc(e) if b'DEPRECATED' in doc or c.startswith(b'debug'): continue