diff -r a0674e916fb6 -r f254fc73d956 mercurial/hgweb/webutil.py --- a/mercurial/hgweb/webutil.py Thu Mar 03 17:39:20 2022 -0800 +++ b/mercurial/hgweb/webutil.py Thu Mar 03 18:28:30 2022 -0800 @@ -56,7 +56,7 @@ allowed = ui.configlist(b'web', b'allow-archive', untrusted=True) archives = [] - for typ, spec in pycompat.iteritems(archivespecs): + for typ, spec in archivespecs.items(): if typ in allowed or ui.configbool( b'web', b'allow' + typ, untrusted=True ): @@ -863,7 +863,7 @@ def itermaps(self, context): separator = self._start - for key, value in sorted(pycompat.iteritems(self._vars)): + for key, value in sorted(self._vars.items()): yield { b'name': key, b'value': pycompat.bytestr(value),