Skip to content

Commit

Permalink
debug fixes, linting
Browse files Browse the repository at this point in the history
  • Loading branch information
andre-merzky committed May 31, 2024
1 parent f919465 commit dff7984
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/radical/utils/flux.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
from .logger import Logger
from .profile import Profiler
from .modules import import_module
from .host import get_hostname


# --------------------------------------------------------------------------
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)

Expand Down

0 comments on commit dff7984

Please sign in to comment.