summaryrefslogtreecommitdiff
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:12:55 -0500
commit74643fb1a4e9d5fcf7235df63ef0632bb6db818a (patch)
tree01b034ec8281e56b641ce445fde743bc9e170f34
parentd13c5e30f00656d91dcd86bec5234da14037eb9b (diff)
downloadb4-74643fb1a4e9d5fcf7235df63ef0632bb6db818a.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 3439f01..730cefc 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)