diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-12-31 03:43:28 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-12-31 03:43:28 (GMT) |
commit | 9c069fd76ea3442ed85da069e8d996afc2888a9f (patch) | |
tree | 7074be8ed08373d68c2c3a3a028926bc3903cb23 /Lib/ssl.py | |
parent | e7f66f10080a5d01826a243cf8ec17fb2e4f7d2e (diff) | |
download | cpython-9c069fd76ea3442ed85da069e8d996afc2888a9f.zip cpython-9c069fd76ea3442ed85da069e8d996afc2888a9f.tar.gz cpython-9c069fd76ea3442ed85da069e8d996afc2888a9f.tar.bz2 |
#4788 qualify remove a bare except
Diffstat (limited to 'Lib/ssl.py')
-rw-r--r-- | Lib/ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |