aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-02-04 21:50:18 -0500
committerKonstantin Ryabitsev <konstantin@linuxfoundation.org>2020-02-04 21:50:18 -0500
commitc6af8cdfac11fd9ba5514adcb01220c188fde544 (patch)
tree5887877cd78a7cd35e18d26c35461c87bc543a00
parentf734b1a74939eb58041d15bbdb22f3df00814548 (diff)
downloadkorg-helpers-c6af8cdfac11fd9ba5514adcb01220c188fde544.tar.gz
Messages with diffs can't be cover letters
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-xget-lore-mbox.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/get-lore-mbox.py b/get-lore-mbox.py
index 146ad2f..bfe8b0b 100755
--- a/get-lore-mbox.py
+++ b/get-lore-mbox.py
@@ -247,7 +247,7 @@ def mbox_to_am(mboxfile, config, cmdargs):
# if it has no in-reply-to, but other messages I-R-T to it, then
# it's probably a cover letter that doesn't follow the standard 00/NN notation
- if irtid is None and msgid in irt_map.keys():
+ if irtid is None and not has_diff and msgid in irt_map.keys():
logger.debug(' Probaby a cover letter')
cover_keys[subj_info['revision']] = key
continue