You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2020/08/17 16:57:58 UTC

[incubator-ponymail-foal] branch master updated: Add missing params

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c62ea1  Add missing params
6c62ea1 is described below

commit 6c62ea11a2633812b43d4116fdeb2796429823d2
Author: Sebb <se...@apache.org>
AuthorDate: Mon Aug 17 17:57:40 2020 +0100

    Add missing params
---
 tools/import-mbox.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 4e4ed42..e9a5b34 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -216,6 +216,7 @@ class SlurpThread(Thread):
 
             for key in messages.iterkeys():
                 message = messages.get(key)
+                message_raw = messages.get_bytes(key)
                 # If --filter is set, discard any messages not matching by continuing to next email
                 if (
                     fromFilter
@@ -256,7 +257,7 @@ class SlurpThread(Thread):
                     continue
 
                 json, contents, _msgdata, _irt = archie.compute_updates(
-                    list_override, private, message
+                    args, list_override, private, message, message_raw
                 )
 
                 # Not sure this can ever happen