mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-29 19:26:14 +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:
|
if not keep_maintainers:
|
||||||
for person in root.findall('person'):
|
for person in root.findall('person'):
|
||||||
root.remove(person)
|
root.remove(person)
|
||||||
|
for group in root.findall('group'):
|
||||||
|
root.remove(group)
|
||||||
if not keep_develproject:
|
if not keep_develproject:
|
||||||
for dp in root.findall('devel'):
|
for dp in root.findall('devel'):
|
||||||
root.remove(dp)
|
root.remove(dp)
|
||||||
|
Loading…
Reference in New Issue
Block a user