From 8c322a98e683dbcecedb11e61fd83b79c22a7e89 Mon Sep 17 00:00:00 2001 From: Curtis Rueden Date: Fri, 1 Dec 2023 14:25:21 -0600 Subject: [PATCH] Make the code linter happy --- src/appose/service.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/appose/service.py b/src/appose/service.py index 3e6b53b..82d7b02 100644 --- a/src/appose/service.py +++ b/src/appose/service.py @@ -169,7 +169,6 @@ def _stdout_loop(self) -> None: # Skip it and keep going, but log it first. self._debug_service(f" {line}") - def _stderr_loop(self) -> None: """ Input loop processing lines from the worker's stderr stream. @@ -194,10 +193,14 @@ def _monitor_loop(self) -> None: # Do some sanity checks. exit_code = self._process.returncode if exit_code != 0: - self._debug_service(f"") + self._debug_service( + f"" + ) task_count = len(self._tasks) if task_count > 0: - self._debug_service(f"") + self._debug_service( + f"" + ) # Notify any remaining tasks about the process crash. for task in self._tasks.values():