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 2022/01/30 11:47:43 UTC

[incubator-ponymail-foal] branch master updated: Document

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 ebbf065  Document
ebbf065 is described below

commit ebbf065862f0892ff34e9bd928c1f89c240072f3
Author: Sebb <se...@apache.org>
AuthorDate: Sun Jan 30 11:47:19 2022 +0000

    Document
---
 tools/import-mbox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 25a3886..a31a6df 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -394,7 +394,7 @@ class SlurpThread(Thread):
                         # needs to be replaced by proper exception handling
                         json_source = {
                             "permalinks": json["permalinks"],
-                            "mid": json["dbid"],
+                            "mid": json["dbid"], # this is only needed for bulk_insert to set up the _id
                             "message-id": json["message-id"],
                             "source": archiver.mbox_source(message_raw),
                         }