Commit fd21090f authored by Lorenz Huedepohl's avatar Lorenz Huedepohl
Browse files

Less output for unchanged packages

parent 3f823b5e
......@@ -365,6 +365,7 @@ def mpcdf_enable_repositories(api_url, project, package, verbose=False, filter_r
new_pkg_meta = ElementTree.tostring(root, encoding=osc.core.ET_ENCODING)
if pkg_meta != new_pkg_meta:
print("Updating repositories for", package)
osc.core.edit_meta("pkg", (project, package), data=new_pkg_meta)
return True
......@@ -572,7 +573,6 @@ Macros:
def work(packagelist):
for package in packagelist:
print("Updating repositories for", package)
if not mpcdf_enable_repositories(api_url, project, package, filter_repos=filter_repos):
print("ATTENTION: Not changing unmanaged package {0}".format(package))
......
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