Fix related to the SSLv3 disabling

This commit is contained in:
Miroslav Stampar 2014-12-30 15:44:55 +01:00
parent d3c6cf1932
commit 41c2f889b2

View File

@ -53,7 +53,7 @@ class HTTPSConnection(httplib.HTTPSConnection):
break
else:
sock.close()
except ssl.SSLError, errMsg:
except (ssl.SSLError, socket.error), errMsg:
logger.debug("SSL connection error occurred ('%s')" % errMsg)
if not success: