Reviewed:  https://review.openstack.org/541170
Committed: 
https://git.openstack.org/cgit/openstack/python-troveclient/commit/?id=0b28b04ebbfaed981f4e00e69e4c7a8e0ed75395
Submitter: Zuul
Branch:    master

commit 0b28b04ebbfaed981f4e00e69e4c7a8e0ed75395
Author: Zhao Chao <zhaochao1...@gmail.com>
Date:   Tue Feb 6 15:31:42 2018 +0800

    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: Id8bfde6277640de48768bbe5a5e4252b97253ed2
    Closes-Bug: #1559072
    Co-Authored-By: Matt Riedemann <mrie...@us.ibm.com>
    Signed-off-by: Zhao Chao <zhaochao1...@gmail.com>


** Changed in: python-troveclient
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1559072

Title:
  [SRU] exceptions.from_response with webob 1.6.0 results in
  "AttributeError: 'unicode' object has no attribute 'get'"

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1559072/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to