Merge "Adding back exception mapping for ConnectionError"

This commit is contained in:
Jenkins
2015-09-09 04:34:24 +00:00
committed by Gerrit Code Review

View File

@@ -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