shell_command: python 3.10 fix
Remove the deprecated "loop" parameter in asyncio.gather(). Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
@@ -121,7 +121,7 @@ class SCProcess(asyncio.subprocess.Process):
|
||||
else:
|
||||
stderr = self._noop() # type: ignore
|
||||
stdin, stdout, stderr = await asyncio.tasks.gather(
|
||||
stdin, stdout, stderr, loop=self._loop) # type: ignore
|
||||
stdin, stdout, stderr)
|
||||
await self.wait()
|
||||
|
||||
class ShellCommand:
|
||||
|
Reference in New Issue
Block a user