Commit 18def513 authored by Denis Bilenko's avatar Denis Bilenko

socket: replace "except:" with "except Exception:"

parent ee1b2fc9
......@@ -565,7 +565,7 @@ def create_connection(address, timeout=_GLOBAL_DEFAULT_TIMEOUT):
try:
from gevent.dns import resolve_ipv4, resolve_ipv6
except:
except Exception:
import traceback
traceback.print_exc()
__all__.remove('gethostbyname')
......
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