From c773196cfd5bd41e7112cbf74eba866efd723098 Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Fri, 22 Jul 2022 15:23:44 -0400 Subject: Fix regression introduced by ez-trailers work I need to refactor the entire approach to trailers so we stop passing around tuples. It made sense at the time, but now it's just a source of bugs. Reported-by: Mark Brown Signed-off-by: Konstantin Ryabitsev --- b4/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/b4/__init__.py b/b4/__init__.py index 6adabbd..0bc8f27 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -330,7 +330,8 @@ class LoreMailbox: if pmsg.in_reply_to and pmsg.in_reply_to in self.msgid_map: lvl += 1 for ptrailer in pmsg.trailers: - trailers.append(tuple(ptrailer + [pmsg])) + print(ptrailer) + trailers.append(tuple(ptrailer + (pmsg,))) pmsg = self.msgid_map[pmsg.in_reply_to] continue break -- cgit v1.2.3