Skip to content
Snippets Groups Projects
Commit 6275612c authored by Sebastian Achilles's avatar Sebastian Achilles
Browse files

add support for multiple owner

parent 393e71b7
No related branches found
No related tags found
No related merge requests found
......@@ -276,7 +276,10 @@ def find_comp_file(sw, toolchain, repo):
def find_owner(sw, acls):
for pkg in acls['software']:
if pkg['name'] == sw:
if isinstance(pkg['owner'], str):
return '@'+pkg['owner']
elif isinstance(pkg['owner'], list):
return ' '.join('@'+owner for owner in pkg['owner'])
return 'swmanage'
def table_generator(sw_dict, acls, table_type):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment