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 <[email protected]>
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

Reply via email to