diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-04-16 16:06:07 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2024-04-16 16:06:07 -0400 |
commit | d4af148efc19a125f7235e24eaba185f44682cd0 (patch) | |
tree | 2db0f0f3cf0981629bc4ad7304f18d25a35f6a4f | |
parent | 62acef4c560a20b5c7a03538b352d80d735552b7 (diff) | |
download | b4-d4af148efc19a125f7235e24eaba185f44682cd0.tar.gz |
ez: fix output of prep --check
Now that we're using shared code with am --check, adjust the output to
match what is returned.
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | src/b4/ez.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/b4/ez.py b/src/b4/ez.py index 3d370e2..f9fd251 100644 --- a/src/b4/ez.py +++ b/src/b4/ez.py @@ -1636,7 +1636,7 @@ def check(cmdargs: argparse.Namespace) -> None: report = b4.LoreMessage.run_local_check(ppcmdargs, commit, msg, nocache=cmdargs.nocache) lsubject = b4.LoreSubject(msg.get('Subject', '')) csubject = f'{commit[:12]}: {lsubject.subject}' - if not report: + if not report or (len(report) ==1 and report[0][0] == 'success'): logger.info('%s %s', b4.CI_FLAGS_FANCY['success'], csubject) summary['success'] += 1 continue |