aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-12-09 08:11:43 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-12-09 08:11:43 -0500
commit2136644f1c1a9448a570075ac33a40506a10681d (patch)
tree727c57a1286a9bc736dcafa0c1d8565a2925c2fb
parent7bef1222500783021c223e0acfc8803ce6b43408 (diff)
downloadb4-2136644f1c1a9448a570075ac33a40506a10681d.tar.gz
Add BugLink to non-person trailers
Looks like BugLink: is a trailer used by Intel. Reported-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rw-r--r--b4/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/b4/__init__.py b/b4/__init__.py
index 5202f4c..3ab0da6 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -1195,8 +1195,8 @@ class LoreMessage:
@staticmethod
def find_trailers(body):
- headers = ('subject', 'date', 'from')
- nonperson = ('fixes', 'subject', 'date', 'link')
+ headers = ('subject', 'date', 'from', 'to')
+ nonperson = ('fixes', 'subject', 'date', 'link', 'buglink')
# Fix some more common copypasta trailer wrapping
# Fixes: abcd0123 (foo bar
# baz quux)