Skip to content
Snippets Groups Projects
Commit 7f654d49 authored by Lorenz Hüdepohl's avatar Lorenz Hüdepohl
Browse files

Fix console messages of mpcdf_sync

parent 1e89a179
No related branches found
No related tags found
No related merge requests found
Pipeline #72665 passed
......@@ -886,10 +886,10 @@ def sync_projects(api_url, package=None, from_project="software", to_projects=No
enable_repos = get_attribute_values(api_url, from_project, orig_package, "MPCDF:enable_repositories")
if orig_package not in to_packages:
if len(enable_repos) == 0:
print("Not branching package {0}, is disabled".format(package))
print("Not branching package {0}, is disabled".format(orig_package))
continue
elif enable_repos == ["system"]:
print("Not branching package {0}, is only enabled for 'system'".format(package))
print("Not branching package {0}, is only enabled for 'system'".format(orig_package))
continue
filelist = osc.core.meta_get_filelist(api_url, from_project, orig_package)
if "_link" in filelist:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment