changeset 30734 | b9e49f7b0220 |
parent 30559 | d83ca854fa21 |
child 30816 | 96f811bceb85 |
--- a/mercurial/hgweb/webcommands.py Sun Jan 08 14:37:44 2017 -0500 +++ b/mercurial/hgweb/webcommands.py Sun Jan 08 01:24:45 2017 +0800 @@ -1034,7 +1034,7 @@ allowed = web.configlist("web", "allow_archive") key = req.form['node'][0] - if type_ not in web.archives: + if type_ not in web.archivespecs: msg = 'Unsupported archive type: %s' % type_ raise ErrorResponse(HTTP_NOT_FOUND, msg)