##// END OF EJS Templates
hgweb: use archivespecs (dict) instead of archives (tuple) for "in" check
av6 -
r30734:b9e49f7b default
parent child Browse files
Show More
@@ -1034,7 +1034,7 b' def archive(web, req, tmpl):'
1034 1034 allowed = web.configlist("web", "allow_archive")
1035 1035 key = req.form['node'][0]
1036 1036
1037 if type_ not in web.archives:
1037 if type_ not in web.archivespecs:
1038 1038 msg = 'Unsupported archive type: %s' % type_
1039 1039 raise ErrorResponse(HTTP_NOT_FOUND, msg)
1040 1040
General Comments 0
You need to be logged in to leave comments. Login now