Skip to content
Snippets Groups Projects
Commit d6d1d44c authored by Ashwin Kumar Karnad's avatar Ashwin Kumar Karnad
Browse files

use logging.errro

parent 04ffa744
No related branches found
No related tags found
1 merge request!41Status command
......@@ -839,11 +839,11 @@ def environment_status(mpsd_release, script_dir):
(release_base_dir / sys_microarch / "lmod" / "Core" / "toolchains")
if not spack_dir.exists():
logging.warn(
logging.error(
f"Release {mpsd_release} has not been completly installed yet"
", try reinstalling it (spack directory not found)"
)
sys.exit(1)
return
# find all folders for all microarch in the release directory
# except for the blacklisted files
black_listed_files = [
......
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