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

Fix: arguments were swapped

parent 0bf69658
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -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:
......
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