Merge "Fix webob.exc.HTTPForbidden parameter miss"

This commit is contained in:
Jenkins 2014-03-02 19:05:50 +00:00 committed by Gerrit Code Review
commit e12de80cf0

View File

@ -906,7 +906,7 @@ class Application(object):
res = 'message\n' res = 'message\n'
# Option 2: a nicely formatted HTTP exception page # 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 # 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) # headers, or you want to be treated like an iterable, or or or)