pylint
This commit is contained in:
parent
8e43e40810
commit
3ea92c0d6e
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class BaseNetwork:
|
||||||
await client.create_connection(timeout)
|
await client.create_connection(timeout)
|
||||||
await client.send_request('server.banner')
|
await client.send_request('server.banner')
|
||||||
return client
|
return client
|
||||||
except (asyncio.TimeoutError, asyncio.CancelledError) as error:
|
except (asyncio.TimeoutError, asyncio.CancelledError):
|
||||||
if not client.is_closing():
|
if not client.is_closing():
|
||||||
client.abort()
|
client.abort()
|
||||||
raise
|
raise
|
||||||
|
|
Loading…
Reference in a new issue