From dff7984cb3481f84639da562401ec532d81e6382 Mon Sep 17 00:00:00 2001 From: Andre Merzky Date: Fri, 31 May 2024 10:05:25 +0200 Subject: [PATCH] debug fixes, linting --- src/radical/utils/flux.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/radical/utils/flux.py b/src/radical/utils/flux.py index b8621369..ffa198c5 100644 --- a/src/radical/utils/flux.py +++ b/src/radical/utils/flux.py @@ -19,7 +19,6 @@ from .logger import Logger from .profile import Profiler from .modules import import_module -from .host import get_hostname # -------------------------------------------------------------------------- @@ -147,7 +146,7 @@ def _locked_start_service(self, cmd += ['flux', 'start', 'bash', '-c', 'echo "HOST:$(hostname) URI:$FLUX_URI" && sleep inf'] - self._log.debug('flux command', cmd) + self._log.debug('flux command: %s', ' '.join(cmd)) flux_proc = sp.Popen(cmd, encoding="utf-8", stdin=sp.DEVNULL, stdout=sp.PIPE, stderr=sp.PIPE) @@ -199,7 +198,7 @@ def _locked_start_service(self, self._env = flux_env self._proc = flux_proc - self._log.debug('flux uri', flux_uri) + self._log.debug('flux uri: %s', flux_uri) self._prof.prof('flux_started', msg=self._uid)