1
0
mirror of https://github.com/openSUSE/osc.git synced 2025-08-24 15:18:54 +02:00

- support bugowner set of groups

This commit is contained in:
2014-01-24 17:01:35 +01:00
parent cb14b06a74
commit 0557fecd02
2 changed files with 17 additions and 7 deletions

View File

@@ -6086,6 +6086,9 @@ def setBugowner(apiurl, prj, pac, user=None, group=None):
path_args=path,
template_args=None,
create_new=False)
if user.startswith('group:'):
group=user.replace('group:','')
user=None
if data:
root = ET.fromstring(''.join(data))
for group_element in root.getiterator('group'):