mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Clean up aexit def
This commit is contained in:
parent
d273aef431
commit
f5d84f3bd1
1 changed files with 2 additions and 2 deletions
|
@ -371,7 +371,7 @@ class AsyncReqChannel:
|
|||
await self.transport.connect()
|
||||
return self
|
||||
|
||||
async def __aexit__(self, exc_type, exc, tb):
|
||||
async def __aexit__(self, *_):
|
||||
self.close()
|
||||
|
||||
|
||||
|
@ -628,7 +628,7 @@ class AsyncPubChannel:
|
|||
async def __aenter__(self):
|
||||
return self
|
||||
|
||||
async def __aexit__(self, exc_type, exc, tb):
|
||||
async def __aexit__(self, *_):
|
||||
await self.close()
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue