diff options
author | lin-hua-cheng <os.lcheng@gmail.com> | 2015-09-08 16:42:04 -0700 |
---|---|---|
committer | lin-hua-cheng <os.lcheng@gmail.com> | 2015-09-08 16:42:04 -0700 |
commit | c45fd909c37eabe6e3391304f539003aa3bbff2d (patch) | |
tree | 6a3ebd8cd18e9c7f4372bbedf56274991435e799 | |
parent | 6231459156c7ffcea574efb2e01ce0b5ec78d9ac (diff) | |
download | python-keystoneclient-c45fd909c37eabe6e3391304f539003aa3bbff2d.tar.gz |
Adding back exception mapping for ConnectionError
The mapping for ConnectionError to ConnectionRefused have been
remove in a recent cleanup to move all exception to
keystoneclient.exceptions
related commit: 26534dadb1d0be00b87b632a038839ab1c18cfe4
Adding the mapping back for backward compatability.
Change-Id: I6f4627b9cd68615b509d17910fe2c1605e89fc26
Closes-Bug: #1492600
-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 d88bb73..8756929 100644 --- a/keystoneclient/exceptions.py +++ b/keystoneclient/exceptions.py @@ -463,6 +463,7 @@ def from_response(response, method, url): # NOTE(akurilin): This alias should be left here to support backwards # compatibility until we are sure that usage of these exceptions in # projects is correct. +ConnectionError = ConnectionRefused HTTPNotImplemented = HttpNotImplemented Timeout = RequestTimeout HTTPError = HttpError |