diff --git a/pilot/util/workernode.py b/pilot/util/workernode.py index 07b29578..aeeba599 100644 --- a/pilot/util/workernode.py +++ b/pilot/util/workernode.py @@ -327,7 +327,7 @@ def lscpu(): cmd = 'lscpu' if not which(cmd): - logger.warning('command={cmd} does not exist - cannot check number of available cores') + logger.warning(f'command={cmd} does not exist - cannot check number of available cores') return 1, "" ec, stdout, _ = execute(cmd)