diff options
author | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-02-10 15:37:25 -0500 |
---|---|---|
committer | Konstantin Ryabitsev <konstantin@linuxfoundation.org> | 2020-02-10 15:37:25 -0500 |
commit | 172aed2891338710d37f9145093121453196b5b3 (patch) | |
tree | f37b79c0389626f845e7584626a88f1732399f61 | |
parent | df467cf244dba135c5d680029ea1ce501b84d46e (diff) | |
download | korg-helpers-172aed2891338710d37f9145093121453196b5b3.tar.gz |
Fix for when in-reply-to is not in the thread
Work around for a logic bug when trying to find non-standard cover
letters.
Reported-by: Greg Kroah-Hartman <greg@kroah.com>
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 83d3629..db494d8 100755 --- a/get-lore-mbox.py +++ b/get-lore-mbox.py @@ -255,7 +255,7 @@ def mbox_to_am(mboxfile, config, cmdargs): cover_keys[subj_info['revision']] = key continue - if subj_info['revision_inferred'] and irtid is not None: + if subj_info['revision_inferred'] and irtid in msgid_map: # Grab revision info from the cover letter cover_subj_info = get_subject_info(mbx[msgid_map[irtid]]['Subject']) subj_info['revision'] = cover_subj_info['revision'] |