Skip to content
Snippets Groups Projects
Commit b24c23f7 authored by Augie Fackler's avatar Augie Fackler
Browse files

webcommands: use stringutil.pprint() to repr invalid archive types

Differential Revision: https://phab.mercurial-scm.org/D5074
parent 844deb40
No related merge requests found
......@@ -1172,7 +1172,7 @@
key = web.req.qsparams['node']
if type_ not in webutil.archivespecs:
msg = 'Unsupported archive type: %s' % type_
msg = 'Unsupported archive type: %s' % stringutil.pprint(type_)
raise ErrorResponse(HTTP_NOT_FOUND, msg)
if not ((type_ in allowed or
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment