← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1264223] Re: webob.exc.HTTPBadRequest doesn't accept parameter 'reason'

 

** Changed in: cinder
       Status: Fix Committed => Fix Released

** Changed in: cinder
    Milestone: None => icehouse-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1264223

Title:
  webob.exc.HTTPBadRequest doesn't accept parameter 'reason'

Status in Cinder:
  Fix Released
Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  If the specific error message is required, we must set
  explanation='message' to initialize subclass of
  webob.exc.WSGIHTTPException(). There is some code specify the message
  to 'reason' incorrectly.

  Ex.
  OK: raise webob.exc.HTTPBadRequest(explanation=_('What?'))
  WRONG: raise webob.exc.HTTPBadRequest(reason=_("What's up?"))

To manage notifications about this bug go to:
https://bugs.launchpad.net/cinder/+bug/1264223/+subscriptions