fix name usage
This commit is contained in:
parent
9c069fd76e
commit
c071d3a41c
|
@ -114,7 +114,7 @@ class SSLSocket(socket):
|
|||
# see if it's connected
|
||||
try:
|
||||
socket.getpeername(self)
|
||||
except socket.error:
|
||||
except socket_error:
|
||||
# no, no connection yet
|
||||
self._sslobj = None
|
||||
else:
|
||||
|
|
Loading…
Reference in New Issue