From 31607e0f203ca985e28087f12deb3b9edea1272e Mon Sep 17 00:00:00 2001 From: Konstantin Ryabitsev Date: Wed, 9 Sep 2020 16:33:59 -0400 Subject: Don't force trailers into a set Fixes sloppy-trailers. Signed-off-by: Konstantin Ryabitsev --- b4/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b4/__init__.py b/b4/__init__.py index 2f6d1ba..630c1b2 100644 --- a/b4/__init__.py +++ b/b4/__init__.py @@ -898,7 +898,7 @@ class LoreMessage: def get_trailers(self, sloppy=False): mismatches = set() if sloppy: - return set(self.trailers), mismatches + return self.trailers, mismatches trailers = list() for tname, tvalue in self.trailers: -- cgit v1.2.3