fix name usage

This commit is contained in:
Benjamin Peterson 2008-12-31 04:10:35 +00:00
parent 9c069fd76e
commit c071d3a41c
1 changed files with 1 additions and 1 deletions

View File

@ -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: