ZhiQiang Fan d75a8e83bb add default value for http_status in ClientException
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
2016-05-31 03:08:17 +08:00
2016-04-30 07:49:06 +08:00
2015-12-15 11:41:51 -05:00
2015-08-28 11:43:50 +02:00
2016-03-07 10:06:08 +08:00
2015-08-28 11:43:50 +02:00
2015-08-28 11:43:50 +02:00
2015-12-15 11:41:51 -05:00
2016-04-01 14:35:51 +02:00
2015-08-28 11:43:50 +02:00
2016-04-30 07:49:06 +08:00

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.

Description
Client library for Aodh API
Readme 3.1 MiB
Languages
Python 99.1%
Shell 0.9%