You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by to...@apache.org on 2016/02/27 17:48:43 UTC

[2/3] libcloud git commit: Fixed httplib_ssl socket exception handling.

Fixed httplib_ssl socket exception handling.

Closes #714

Signed-off-by: Tomaz Muraus <to...@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 <cr...@google.com>
Authored: Thu Feb 25 17:43:56 2016 -0800
Committer: Tomaz Muraus <to...@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