diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-07-22 15:23:44 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2022-07-22 15:23:44 -0400 |
commit | c773196cfd5bd41e7112cbf74eba866efd723098 (patch) | |
tree | 77b8571fa14e2a9bcc898040e5fcc3dc14f4018e | |
parent | 11e7e77db0f92864a3e203e5e824c4d5f6de5f77 (diff) | |
download | b4-c773196cfd5bd41e7112cbf74eba866efd723098.tar.gz |
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 <broonie@kernel.org>
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r-- | b4/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
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 |