Skip to content
Snippets Groups Projects
Commit 297902fa authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Support disabled packages in mpcdf_info

parent 57fed8b3
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,8 @@ def do_mpcdf_info(self, subcmd, opts, *args):
return " {0}={1}".format(description, ",".join(mpcdf_common.get_attribute_values(api_url, project, package, attribute)))
return ""
print(" " + pkg_name_fmt.format(package), "--set=" + (",".join(enabled_repos)),
print(" " + pkg_name_fmt.format(package),
("--set=" + (",".join(enabled_repos))) if enabled_repos else "--disable",
subset("--compiler-modules", "MPCDF:compiler_modules")
+ subset("--mpi-modules", "MPCDF:mpi_modules")
+ subset("--cuda-modules", "MPCDF:cuda_modules"))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment