Skip to content
Snippets Groups Projects
Commit c0c93db7 authored by Hans Fangohr's avatar Hans Fangohr
Browse files

black

and remove unused mod_use object
parent 6988f0a4
No related branches found
No related tags found
1 merge request!46Status command : add module commands for each microarch
Pipeline #370550 passed
...@@ -988,14 +988,11 @@ def environment_status(mpsd_release: str, root_dir: Union[str, Path]) -> dict: ...@@ -988,14 +988,11 @@ def environment_status(mpsd_release: str, root_dir: Union[str, Path]) -> dict:
# pretty print the toolchain map key as the heading # pretty print the toolchain map key as the heading
# and the value as the list of toolchains # and the value as the list of toolchains
plog.info( plog.info(f"Installed toolchains ({mpsd_release}):\n")
f"Installed toolchains ({mpsd_release}):\n"
)
for microarch, toolchains in toolchain_map.items(): for microarch, toolchains in toolchain_map.items():
mod_use = f"[module use {str(release_base_dir / microarch / 'lmod/Core')}]"
plog.info(f"- {microarch}") plog.info(f"- {microarch}")
for toolchain in toolchains: for toolchain in toolchains:
plog.info(f' {toolchain}') plog.info(f" {toolchain}")
plog.info(f" [module use {str(release_base_dir / microarch / 'lmod/Core')}]") plog.info(f" [module use {str(release_base_dir / microarch / 'lmod/Core')}]")
plog.info("") plog.info("")
return toolchain_map return toolchain_map
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment