1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-12-27 18:26:15 +01:00
Remove group elements during copy_pac, link_pac, aggregate_pac.
This commit is contained in:
Marcus Huewe 2019-04-24 20:11:50 +02:00
commit a3de1bdad1

View File

@ -5077,6 +5077,8 @@ def replace_pkg_meta(pkgmeta, new_name, new_prj, keep_maintainers = False,
if not keep_maintainers:
for person in root.findall('person'):
root.remove(person)
for group in root.findall('group'):
root.remove(group)
if not keep_develproject:
for dp in root.findall('devel'):
root.remove(dp)