Commit 3b644285 authored by Denis Bilenko's avatar Denis Bilenko

socket: replace 'except:' with 'except Exception:' in ssl()

parent caa053bd
...@@ -779,7 +779,7 @@ def ssl(sock, keyfile=None, certfile=None): ...@@ -779,7 +779,7 @@ def ssl(sock, keyfile=None, certfile=None):
try: try:
sock.getpeername() sock.getpeername()
except: except Exception:
# no, no connection yet # no, no connection yet
pass pass
else: 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