Skip to content

Commit 4e65247

Browse files
wspearCopilot
andauthored
Update e4s_cl/cf/wi4mpi/__init__.py
Co-authored-by: Copilot <[email protected]>
1 parent f384b69 commit 4e65247

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

e4s_cl/cf/wi4mpi/__init__.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,10 +169,14 @@ def wi4mpi_root() -> Optional[Path]:
169169

170170
if string is None or not string:
171171
LOGGER.debug("Getting Wi4MPI root failed - WI4MPI_ROOT not in environment")
172-
LOGGER.debug(f"Available Wi4MPI env vars: WI4MPI_FROM={os.environ.get('WI4MPI_FROM')}, WI4MPI_TO={os.environ.get('WI4MPI_TO')}")
172+
LOGGER.debug(
173+
"Available Wi4MPI env vars: WI4MPI_FROM=%s, WI4MPI_TO=%s",
174+
os.environ.get("WI4MPI_FROM"),
175+
os.environ.get("WI4MPI_TO"),
176+
)
173177
return None
174178

175-
LOGGER.debug(f"Wi4MPI root found: {string}")
179+
LOGGER.debug("Wi4MPI root found: %s", string)
176180
return Path(string)
177181

178182

0 commit comments

Comments
 (0)