Defer connection to systemd journal

This commit is contained in:
Unrud 2023-03-22 10:23:54 +01:00 committed by Unrud
parent e23f0283b0
commit 5070533a0b
2 changed files with 39 additions and 27 deletions

View file

@ -50,8 +50,8 @@ if sys.version_info >= (3, 8):
@runtime_checkable
class ErrorStream(Protocol):
def flush(self) -> None: ...
def write(self, s: str) -> None: ...
def flush(self) -> object: ...
def write(self, s: str) -> object: ...
else:
ErrorStream = Any
InputStream = Any