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-foal.git
The following commit(s) were added to refs/heads/master by this push:
new d224029 Support skipit, as archie returns
d224029 is described below
commit d22402939622acbf4db1b7ea60f7f0142d9a128f
Author: Daniel Gruno <[email protected]>
AuthorDate: Mon Sep 20 10:55:46 2021 -0500
Support skipit, as archie returns
---
tools/import-mbox.py | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 07265ab..44e752e 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -274,9 +274,11 @@ class SlurpThread(Thread):
message.replace_header("from", "%s <%s@%s>" %
(m.group(3), m.group(1), m.group(2)))
- json, contents, _msgdata, _irt = archie.compute_updates(
+ json, contents, _msgdata, _irt, skipit =
archie.compute_updates(
list_override, private, message, message_raw
)
+ if skipit:
+ continue
# Not sure this can ever happen
if json and not (json["list"] and json["list_raw"]):