Commit 7f654d49 authored by Lorenz Hüdepohl's avatar Lorenz Hüdepohl
Browse files

Fix console messages of mpcdf_sync

parent 1e89a179
Pipeline #72665 passed with stage
in 15 seconds
......@@ -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:
......
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