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

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


The following commit(s) were added to refs/heads/master by this push:
     new d0f082a  Adjust parameters to work witrh updated archiver.py
d0f082a is described below

commit d0f082aa7e22b6fa56594dc7e442fd7077225083
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Aug 10 18:17:36 2020 +0200

    Adjust parameters to work witrh updated archiver.py
---
 tools/import-mbox.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 3cc7206..12c7fee 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -34,8 +34,8 @@ import glob
 import multiprocessing
 import tempfile
 import gzip
-
 import archiver
+import logging
 
 goodies = 0
 baddies = 0
@@ -121,7 +121,7 @@ class SlurpThread(Thread):
         mboxfile = ""
         filename = ""
 
-        archie = archiver.Archiver(parseHTML = parseHTML)
+        archie = archiver.Archiver(parse_html=parseHTML)
 
         while len(lists) > 0:
             self.printid("%u elements left to slurp" % len(lists))
@@ -220,7 +220,7 @@ class SlurpThread(Thread):
                     bad += 1
                     continue
 
-                json, contents, _msgdata, _irt = 
archie.compute_updates(list_override, private, message)
+                json, contents, _msgdata, _irt = archie.compute_updates(args, 
list_override, private, message)
 
                 # Not sure this can ever happen
                 if json and not (json['list'] and json['list_raw']):

Reply via email to