Skip to content
Snippets Groups Projects
Unverified Commit 04f2dbbf authored by Robert Eckelmann's avatar Robert Eckelmann Committed by Oliver Smith
Browse files

ttq/print.py: do not print empyt matrix or gitlab user names (MR 3)


fixes #1

Signed-off-by: default avatarRobert Eckelmann <longnoserob@gmail.com>
parent ae7062fe
Branches master
No related tags found
1 merge request!3ttq/print.py: do not print empty matrix or gitlab user names
Pipeline #141198 passed
......@@ -9,9 +9,11 @@ def format_user_list(users):
ret = []
for user in users:
if ttq.args.ARGS.matrix:
ret += [user["matrix"]]
if user['matrix'] != '':
ret += [user["matrix"]]
else:
ret += [f"@{user['gitlab']}"]
if user['gitlab'] != '':
ret += [f"@{user['gitlab']}"]
return ", ".join(sorted(ret))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment