diff options
author | Jamie Lennox <jamielennox@redhat.com> | 2014-04-15 09:29:20 +1000 |
---|---|---|
committer | Jamie Lennox <jamielennox@redhat.com> | 2014-04-15 09:38:20 +1000 |
commit | ce92f37f0be5c6293ddb744eb618db91dda0b058 (patch) | |
tree | db31b161ae6ebe7842bf61bf1ad2c68d97171ac8 /keystoneclient/exceptions.py | |
parent | e7b5120e76234002f72bb085bf6e287bf534090d (diff) | |
download | python-keystoneclient-ce92f37f0be5c6293ddb744eb618db91dda0b058.tar.gz |
Rename HTTPError -> HttpError
With the move to the apiclient exceptions from oslo the basic HTTP error
class was renamed. This was not reflected in all places in the code.
It was also not picked up by the tests because the apiclient tests
weren't running due to a missing __init__.py file. Because this should
be backwards compatible it was added to the list in exceptions, the
check that this is available is in the (now running) apiclient tests.
Blueprint: common-client-library-2
Change-Id: I307c1083f29e3207cc86aa938043270e5c32b4bb
Diffstat (limited to 'keystoneclient/exceptions.py')
-rw-r--r-- | keystoneclient/exceptions.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keystoneclient/exceptions.py b/keystoneclient/exceptions.py index c688fac..d9d3f38 100644 --- a/keystoneclient/exceptions.py +++ b/keystoneclient/exceptions.py @@ -25,6 +25,7 @@ from keystoneclient.openstack.common.apiclient.exceptions import * ConnectionError = ConnectionRefused HTTPNotImplemented = HttpNotImplemented Timeout = RequestTimeout +HTTPError = HttpError class CertificateConfigError(Exception): |