aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-08-18 11:41:01 -0400
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-08-18 11:41:01 -0400
commit8edd289273b33d353b7e858df1461d4cc2947232 (patch)
treeac89c822ada31a1d9c813d9629b061fa17b08108
parentb69289cd926d44e08c7d139b3487bf5e1d432aad (diff)
downloadb4-8edd289273b33d353b7e858df1461d4cc2947232.tar.gz
Cover letters may not have a diffstat
Don't check if a potential cover letter has a diffstat when processing follow-up trailers. Reported-by: Greg Kroah-Hartman <greg@kroah.com> 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 245a0db..cd07be0 100644
--- a/b4/__init__.py
+++ b/b4/__init__.py
@@ -304,7 +304,7 @@ class LoreMailbox:
self.trailer_map[attid].update(trailers)
pmsg.followup_trailers.update(trailers)
break
- if pmsg.has_diffstat and not pmsg.reply:
+ if not pmsg.reply:
# Could be a cover letter
pmsg.followup_trailers.update(trailers)
break