aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-07-20 13:27:42 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2022-07-20 13:27:42 -0400
commit73debe3dbe3c955634d106233114508bb5e7fe00 (patch)
tree354c8c81c22a8376d7f4d10faa15f9ae71ea4742
parentf0fad6ec193c39626e90d01dcbb6541c66b9fdef (diff)
downloadb4-73debe3dbe3c955634d106233114508bb5e7fe00.tar.gz
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 <konstantin@linuxfoundation.org>
-rw-r--r--b4/ez.py2
1 files changed, 1 insertions, 1 deletions
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: