Commit 061034b7 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Fix flake warnings

parent e66d6f45
......@@ -33,7 +33,7 @@ intel_parallel_studio = {
"mpcdf_intel_parallel_studio_2019_3": {"compiler": "intel_19_0_3", "impi": "impi_2019_3", "mkl": "mkl_2019_3-module", },
"mpcdf_intel_parallel_studio_2019_4": {"compiler": "intel_19_0_4", "impi": "impi_2019_4", "mkl": "mkl_2019_4-module", },
"mpcdf_intel_parallel_studio_2019_5": {"compiler": "intel_19_0_5", "impi": "impi_2019_5", "mkl": "mkl_2019_5-module", },
"mpcdf_intel_parallel_studio_2020": {"compiler": "intel_19_1_0", "impi": "impi_2019_6", "mkl": "mkl_2020-module", },
"mpcdf_intel_parallel_studio_2020": {"compiler": "intel_19_1_0", "impi": "impi_2019_6", "mkl": "mkl_2020-module", },
all_mkls = {ic["mkl"] for ic in intel_parallel_studio.values()}
......@@ -343,9 +343,9 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, filter_r
return get_attribute_values(api_url, project, package, "MPCDF:" + attribute, with_project=with_project)
except UnsetAttributeException:
print("ERROR: Attribute MPCDF:" + attribute + " is not set for "
+ ("package '{0}'".format(package) if package else "project '{0}'".format(project))
+ ", aborting here", file=sys.stderr)
print("ERROR: Attribute MPCDF:" + attribute, "is not set for",
"package '{0}'".format(package) if package else "project '{0}'".format(project),
"- aborting here", file=sys.stderr)
raise SystemExit(1)
compilers = try_get_attribute(package, "compiler_modules", with_project=True)
Markdown is supported
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