changeset 48913 | f254fc73d956 |
parent 48875 | 6000f5b25c9b |
child 48946 | 642e31cb55f0 |
--- a/mercurial/hgweb/hgweb_mod.py Thu Mar 03 17:39:20 2022 -0800 +++ b/mercurial/hgweb/hgweb_mod.py Thu Mar 03 18:28:30 2022 -0800 @@ -412,7 +412,7 @@ if cmd == b'archive': fn = req.qsparams[b'node'] - for type_, spec in pycompat.iteritems(webutil.archivespecs): + for type_, spec in webutil.archivespecs.items(): ext = spec[2] if fn.endswith(ext): req.qsparams[b'node'] = fn[: -len(ext)]