aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-09-09 16:33:59 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-09-09 16:33:59 -0400
commit31607e0f203ca985e28087f12deb3b9edea1272e (patch)
tree15257bac24f2d9a0999ae84de8961d88a5664e13
parentace2273d92b52905662978b88faa74f368ce56ed (diff)
downloadb4-31607e0f203ca985e28087f12deb3b9edea1272e.tar.gz
Don't force trailers into a set
Fixes sloppy-trailers. Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/__init__.py2
1 files changed, 1 insertions, 1 deletions
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: