diff --git a/extra/socks/socks.py b/extra/socks/socks.py index 8d4e10e33..ab64d5961 100644 --- a/extra/socks/socks.py +++ b/extra/socks/socks.py @@ -412,5 +412,3 @@ def create_connection(address, timeout=socket._GLOBAL_DEFAULT_TIMEOUT, if err is not None: raise err - else: - raise error("connection problem")