From 73debe3dbe3c955634d106233114508bb5e7fe00 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Wed, 20 Jul 2022 13:27:42 -0400 Subject: ez-trailers: fix regression when applying trailers We were wrongly triggering trailer updates when there were, in fact, no outstanding trailer updates to apply. Signed-off-by: Konstantin Ryabitsev --- b4/ez.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b4/ez.py b/b4/ez.py index db79fe8..6fcf80c 100644 --- a/b4/ez.py +++ b/b4/ez.py @@ -582,7 +582,7 @@ def update_trailers(cmdargs: argparse.Namespace) -> None: logger.debug('No match for %s', lmsg.full_subject) continue - parts = b4.LoreMessage.get_body_parts(lmsg.body) + parts = b4.LoreMessage.get_body_parts(commit_map[commit].get_payload()) for ftrailer in addtrailers: if ftrailer[:3] not in parts[2]: if commit not in updates: -- cgit v1.2.3