author | Anton Shestakov <av6@dwimlabs.net> |
Sun, 08 Jan 2017 01:24:45 +0800 | |
changeset 30734 | b9e49f7b0220 |
parent 30733 | 66448a53bdac |
child 30735 | 9823e2f50a93 |
--- 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)