Updated openstack/openstack

Project: openstack/python-cinderclient  702988b8b94bc9112f62281b5d30ad70a16e142f

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.Handle error response for
webob>=1.6.0

Change-Id: I7d589415aa024588faf77c8234ac026110f6c3cd
Closes-Bug: #1559072
This commit is contained in:
Jenkins
2016-12-11 23:16:36 +00:00
committed by Gerrit Code Review
parent 5f77ba41fc
commit cec4fbf593