##// END OF EJS Templates
webcommands: use stringutil.pprint() to repr invalid archive types...
Augie Fackler -
r40284:b24c23f7 default
parent child Browse files
Show More
@@ -1172,7 +1172,7 b' def archive(web):'
1172 key = web.req.qsparams['node']
1172 key = web.req.qsparams['node']
1173
1173
1174 if type_ not in webutil.archivespecs:
1174 if type_ not in webutil.archivespecs:
1175 msg = 'Unsupported archive type: %s' % type_
1175 msg = 'Unsupported archive type: %s' % stringutil.pprint(type_)
1176 raise ErrorResponse(HTTP_NOT_FOUND, msg)
1176 raise ErrorResponse(HTTP_NOT_FOUND, msg)
1177
1177
1178 if not ((type_ in allowed or
1178 if not ((type_ in allowed or
General Comments 0
You need to be logged in to leave comments. Login now