diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-08-18 11:41:01 -0400 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-08-18 11:42:51 -0400 |
commit | c6d850e9d72007a6530ad59beccf02ceee1954ef (patch) | |
tree | 158daa297e5cb27344d40071b21dd94a348fb848 | |
parent | 57aa10be35dda4201ee1d208e7b00a55e9133617 (diff) | |
download | b4-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__.py | 2 |
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 |