libcloud-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From to...@apache.org
Subject [2/3] libcloud git commit: Fixed httplib_ssl socket exception handling.
Date Sat, 27 Feb 2016 16:48:43 GMT
Fixed httplib_ssl socket exception handling.

Closes #714

Signed-off-by: Tomaz Muraus <tomaz@tomaz.me>


Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo
Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/b7fb13c5
Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/b7fb13c5
Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/b7fb13c5

Branch: refs/heads/trunk
Commit: b7fb13c5424e89ce4b4230a6d52585e4df19895a
Parents: f61f3cf
Author: Scott Crunkleton <crunkleton@google.com>
Authored: Thu Feb 25 17:43:56 2016 -0800
Committer: Tomaz Muraus <tomaz@tomaz.me>
Committed: Sat Feb 27 17:46:34 2016 +0100

----------------------------------------------------------------------
 libcloud/httplib_ssl.py | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/libcloud/blob/b7fb13c5/libcloud/httplib_ssl.py
----------------------------------------------------------------------
diff --git a/libcloud/httplib_ssl.py b/libcloud/httplib_ssl.py
index 2355368..b3e3101 100644
--- a/libcloud/httplib_ssl.py
+++ b/libcloud/httplib_ssl.py
@@ -340,3 +340,5 @@ def get_socket_error_exception(ssl_version, exc):
         new_exc = socket.error(*new_exc_args)
         new_exc.original_exc = exc
         return new_exc
+    else:
+        return exc


Mime
View raw message