diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-02-04 21:50:18 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-02-04 21:50:18 -0500 |
commit | c6af8cdfac11fd9ba5514adcb01220c188fde544 (patch) | |
tree | 5887877cd78a7cd35e18d26c35461c87bc543a00 | |
parent | f734b1a74939eb58041d15bbdb22f3df00814548 (diff) | |
download | korg-helpers-c6af8cdfac11fd9ba5514adcb01220c188fde544.tar.gz |
Messages with diffs can't be cover letters
Signed-off-by: Konstantin Ryabitsev <konstantin@linuxfoundation.org>
-rwxr-xr-x | get-lore-mbox.py | 2 |
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 |