Commit ce30ef06 authored by Jason Madden's avatar Jason Madden

another unusued import [skip ci]

parent 9f1f8824
......@@ -430,11 +430,9 @@ class SSLSocket(socket):
# Python 3.2 onwards raise normal timeout errors, not SSLError.
# See https://bugs.python.org/issue10272
t = __import__('socket').timeout
_SSLErrorReadTimeout = t('The read operation timed out')
_SSLErrorWriteTimeout = t('The write operation timed out')
_SSLErrorHandshakeTimeout = t('The handshake operation timed out')
del t
_SSLErrorReadTimeout = _socket_timeout('The read operation timed out')
_SSLErrorWriteTimeout = _socket_timeout('The write operation timed out')
_SSLErrorHandshakeTimeout = _socket_timeout('The handshake operation timed out')
def wrap_socket(sock, keyfile=None, certfile=None,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment