mercurial/hgweb/hgwebdir_mod.py
changeset 37511 356e61e82c2a
parent 37510 876d54f800cf
child 37513 40a7c1dd2df9
--- a/mercurial/hgweb/hgwebdir_mod.py	Sun Apr 01 22:20:44 2018 +0900
+++ b/mercurial/hgweb/hgwebdir_mod.py	Sun Apr 01 22:32:34 2018 +0900
@@ -109,7 +109,7 @@
     allowed = ui.configlist('web', 'allow_archive', untrusted=True)
     archives = []
 
-    for typ, spec in hgweb_mod.archivespecs.iteritems():
+    for typ, spec in webutil.archivespecs.iteritems():
         if typ in allowed or ui.configbool('web', 'allow' + typ,
                                            untrusted=True):
             archives.append({