Commit 53cc94f8 authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Fix: arguments were swapped

parent 0bf69658
Pipeline #67049 failed with stage
in 12 seconds
......@@ -157,7 +157,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False):
print("Warning: Could not get attribute MPCDF:enable_repositories for package {0}, skipping".format(package))
return False
def try_get_attribute(attribute, package, with_project=False):
def try_get_attribute(package, attribute, with_project=False):
try:
return get_attribute_values(api_url, project, package, "MPCDF:" + attribute, with_project=with_project)
except UnsetAttributeException:
......
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