Update httpshandler.py

ssl.PROTOCOL_SSLv3 removed
affecting error: AttributeError: 'module' object has no attribute 'PROTOCOL_SSLv3'
This commit is contained in:
Rexikon 2014-11-19 16:36:30 +01:00
parent 80b9fc4821
commit 4da20679ee

View File

@ -19,7 +19,7 @@ try:
except ImportError: except ImportError:
pass pass
_protocols = [ssl.PROTOCOL_SSLv3, ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv23] _protocols = [ssl.PROTOCOL_TLSv1, ssl.PROTOCOL_SSLv23]
class HTTPSConnection(httplib.HTTPSConnection): class HTTPSConnection(httplib.HTTPSConnection):
""" """