1
0
mirror of https://github.com/openSUSE/osc.git synced 2024-09-20 01:06:17 +02:00

Also remove groups on copypac

This commit is contained in:
Ludwig Nussel 2019-04-17 11:42:29 +02:00
parent 1ad7f4607d
commit 9d4f584aeb

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)