commit fa377e7fca44e81247639efebd7cae5cb377e57e
Author: Matt Riedemann <email address hidden>
Date: Fri Mar 18 19:17:47 2016 -0400
Handle error response for webob>=1.6.0
WebOb change https://github.com/Pylons/webob/pull/230 changed
the way in which the error response body is formatted such that
it's no longer a nested dict. So we have to handle both the
old convention of an error message key to the response body error
dict and the new way with just the error body dict.
Reviewed: https:/ /review. openstack. org/294850 /git.openstack. org/cgit/ openstack/ python- novaclient/ commit/ ?id=fa377e7fca4 4e81247639efebd 7cae5cb377e57e
Committed: https:/
Submitter: Jenkins
Branch: master
commit fa377e7fca44e81 247639efebd7cae 5cb377e57e
Author: Matt Riedemann <email address hidden>
Date: Fri Mar 18 19:17:47 2016 -0400
Handle error response for webob>=1.6.0
WebOb change https:/ /github. com/Pylons/ webob/pull/ 230 changed
the way in which the error response body is formatted such that
it's no longer a nested dict. So we have to handle both the
old convention of an error message key to the response body error
dict and the new way with just the error body dict.
This was reported upstream:
https:/ /github. com/Pylons/ webob/issues/ 235
But given this was apparently implemented as a long-overdue change
in WebOb the behavior is not likely to change.
Change-Id: If653a247d84278 6d2824b4b3a5c0c de1383ed7ab
Closes-Bug: #1559072