mirror of
https://github.com/openSUSE/osc.git
synced 2024-11-10 06:46:15 +01:00
Also remove groups on copypac
This commit is contained in:
parent
1ad7f4607d
commit
9d4f584aeb
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user