Commit 53a8a54d authored by Iustin Pop's avatar Iustin Pop
Browse files

cli.JobExecutor.WaitOrShow: always return status

Currently, for the 'wait' case, we return a list of tuples (status,
result), in the order of submitted jobs, but we don't return anything
for the no-wait case.

This patch changes the no-wait case to return a list of tuples (status,
result), where result can be either a job ID or an error message.
Processing in clients can then ignore whether we did wait or not, and
test the overall or individual status.
Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarMichael Hanselmann <>
parent 271daef8
......@@ -2364,3 +2364,4 @@ class JobExecutor(object):
ToStdout("%s: %s", result, name)
ToStderr("Failure for %s: %s", name, result)
return [row[1:3] for row in]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment