mercurial/hgweb/hgweb_mod.py
changeset 43106 d783f945a701
parent 43089 c59eb1560c44
child 45307 ba50c8a95e2b
--- a/mercurial/hgweb/hgweb_mod.py	Sun Oct 06 19:25:18 2019 -0400
+++ b/mercurial/hgweb/hgweb_mod.py	Mon Oct 07 00:04:04 2019 -0400
@@ -396,7 +396,7 @@
 
             if cmd == b'archive':
                 fn = req.qsparams[b'node']
-                for type_, spec in webutil.archivespecs.iteritems():
+                for type_, spec in pycompat.iteritems(webutil.archivespecs):
                     ext = spec[2]
                     if fn.endswith(ext):
                         req.qsparams[b'node'] = fn[: -len(ext)]