Commit c071d3a4 authored by Benjamin Peterson's avatar Benjamin Peterson

fix name usage

parent 9c069fd7
......@@ -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:
......
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