We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aeb6c11 commit ff4ab5eCopy full SHA for ff4ab5e
1 file changed
libkirk/ssh.py
@@ -32,8 +32,7 @@ def __init__(self, iobuffer: Optional[IOBuffer] = None) -> None:
32
self._iobuffer = iobuffer
33
self._panic = False
34
35
- # pyrefly: ignore[bad-override]
36
- def data_received(self, data: str, _: asyncssh.DataType) -> None:
+ def data_received(self, data: str, datatype: asyncssh.DataType) -> None:
37
"""
38
Override default data_received callback, storing stdout/stderr inside
39
a buffer and checking for kernel panic.
@@ -58,6 +57,8 @@ def get_output(self) -> List[str]:
58
57
Return the list containing stored stdout/stderr messages.
59
60
return self._output
+
61
62
except ModuleNotFoundError:
63
pass
64
0 commit comments