Commit 7d6251c0 authored by Benjamin Peterson's avatar Benjamin Peterson

#4788 qualify remove a bare except

parent 5d532e59
......@@ -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:
......
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