Commit 297902fa authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Support disabled packages in mpcdf_info

parent 57fed8b3
......@@ -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"))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment