From 9d4f584aeb3f99a3176f8c0e18647e5f19627c32 Mon Sep 17 00:00:00 2001 From: Ludwig Nussel Date: Wed, 17 Apr 2019 11:42:29 +0200 Subject: [PATCH] Also remove groups on copypac --- osc/core.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osc/core.py b/osc/core.py index 4f75f0b1..3ca4b226 100644 --- a/osc/core.py +++ b/osc/core.py @@ -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)