mirror of
https://github.com/openSUSE/osc.git
synced 2024-12-28 10:46:15 +01:00
Merge branch 'master' of https://github.com/lnussel/osc
Remove group elements during copy_pac, link_pac, aggregate_pac.
This commit is contained in:
commit
a3de1bdad1
@ -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