Package: python-novaclient / 2:3.3.1-3~bpo8+1

Metadata

Package Version Patches format
python-novaclient 2:3.3.1-3~bpo8+1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
Handle_error_response_for_webob_ge_1.6.0.patch | (download)

novaclient/exceptions.py | 18 15 + 3 - 0 !
novaclient/tests/unit/test_exceptions.py | 48 48 + 0 - 0 !
2 files changed, 63 insertions(+), 3 deletions(-)

 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.

Bug: #1559072