changeset 26136 | 6defc74f3066 |
parent 26131 | 0a9009d56fea |
child 26781 | 1aee2ab0f902 |
--- a/mercurial/hgweb/webcommands.py Sat Aug 22 15:02:41 2015 -0700 +++ b/mercurial/hgweb/webcommands.py Sat Aug 22 15:12:52 2015 -0700 @@ -1078,7 +1078,7 @@ raise ErrorResponse(HTTP_NOT_FOUND, 'file(s) not found: %s' % file[0]) - mimetype, artype, extension, encoding = web.archive_specs[type_] + mimetype, artype, extension, encoding = web.archivespecs[type_] headers = [ ('Content-Disposition', 'attachment; filename=%s%s' % (name, extension)) ]