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:42:51 -0400
commitc6d850e9d72007a6530ad59beccf02ceee1954ef (patch)
tree158daa297e5cb27344d40071b21dd94a348fb848
parent57aa10be35dda4201ee1d208e7b00a55e9133617 (diff)
downloadb4-c6d850e9d72007a6530ad59beccf02ceee1954ef.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 a1479aa..a3302a1 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