
ClientException is not a virtual base class, hence it can be initialized and string formatted, but the required property 'http_status' is not set by defaut, which will cause AttributeError if we cannot convert a dedicate exception from response. This patch fixes it by adding default value 'N/A' for http_status, and set it with response.status_code when it is a ClientException instance. Change-Id: Ib9920a1f21885917fe7bc4562f1b54602112a473 Closes-Bug: #1586994
aodhclient
Python bindings to the OpenStack Aodh API
This is a client for OpenStack Aodh API. There's a Python API
<api>
(the aodhclient
module), and a command-line script
<shell>
(installed as aodh
). Each implements the entire OpenStack Aodh
API.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/python-aodhclient
- Source: http://git.openstack.org/cgit/openstack/python-aodhclient
- Bugs: http://bugs.launchpad.net/python-aodhclient
Description
Languages
Python
99.1%
Shell
0.9%