Permalink
Browse files

[svn] the error controller was still expecting lists from multidict.get

--HG--
branch : trunk
  • Loading branch information...
1 parent 0edef7f commit b50454d28a86e18607bebb70fe001acf2fd00adb pjenvey committed Jul 27, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 pylons/templates/paster_template/+package+/controllers/error.py_tmpl
@@ -17,8 +17,8 @@ class ErrorController(BaseController):
"""
page = error_document_template % {
'prefix': get_prefix(request.environ),
- 'code': request.params.get('code', [''])[0],
- 'message': request.params.get('message', [''])[0],
+ 'code': request.params.get('code', ''),
+ 'message': request.params.get('message', ''),
}
return Response(page)

0 comments on commit b50454d

Please sign in to comment.