py3 support errors
parent
d218d92d2f
commit
a3242f2749
|
@ -281,7 +281,7 @@ class NetworkedTests(unittest.TestCase):
|
|||
count += 1
|
||||
s.do_handshake()
|
||||
break
|
||||
except ssl.SSLError, err:
|
||||
except ssl.SSLError as err:
|
||||
if err.args[0] == ssl.SSL_ERROR_WANT_READ:
|
||||
while True:
|
||||
to = s.get_timeout()
|
||||
|
|
Loading…
Reference in New Issue