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

Fix package_sets condition in install_environment function

parent 3e6af816
No related branches found
No related tags found
1 merge request!127Resolve "install ALL is broken"
Pipeline #419756 passed
spack-environments @ 4429e664
Subproject commit 4429e6640f2d1460dd5ea88c517dea484825afd0
......@@ -64,9 +64,10 @@ def install_environment(
# run the prepare_environment function
available_package_sets = prepare_environment(mpsd_release, root_dir)
# Ensure that the requested package_sets are available in the release
if package_sets == "ALL":
if package_sets == ["ALL"]:
package_sets = available_package_sets
elif package_sets == "NONE":
# TODO: This if case is never reached, because of new argparse logic. Remove it.
# No package_sets requested, so we only create the env and print the
# list of available package_sets
logging.warning(
......
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