Merge "Fix webob.exc.HTTPForbidden parameter miss"

This commit is contained in:
Jenkins 2014-03-10 01:06:30 +00:00 committed by Gerrit Code Review
commit 58bb5e97ff
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ class BaseApplication(object):
res = 'message\n'
# Option 2: a nicely formatted HTTP exception page
res = exc.HTTPForbidden(detail='Nice try')
res = exc.HTTPForbidden(explanation='Nice try')
# Option 3: a webob Response object (in case you need to play with
# headers, or you want to be treated like an iterable, or or or)