c024b4fc431cbbd65ccb5b901dddb5e540e7ff41
The response being passed to _extract_error_json is assumed to be a requests.Response but can also be a http.client.HTTPResponse. This patch adds a try statement where it first tries for a requests.Response and if not set falls back on parsing the string body instead of trying to use the json() helper function in requests.Response. Change-Id: I61840d284b5d3a249f621822b277c9bd6825140d Closes-Bug: 1870264
Team and repository tags
Python bindings to the Magnum API
This is a client library for Magnum built on the Magnum API. It
provides a Python API (the magnumclient module) and a
command-line tool (magnum).
Development takes place via the usual OpenStack processes as outlined in the developer guide.
- License: Apache License, Version 2.0
- PyPi - package installation
- Online Documentation
- Launchpad project - release management
- Bugs - issue tracking
- Source
Description
Languages
Python
100%