#4788 qualify remove a bare except

This commit is contained in:
Benjamin Peterson 2008-12-31 03:43:28 +00:00
parent e7f66f1008
commit 9c069fd76e
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:
except socket.error:
# no, no connection yet
self._sslobj = None
else: