You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/09/07 09:44:29 UTC
[incubator-ponymail-foal] 02/05: this is an array now,
as per archiver.py
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
commit 28cddb7e0858bf91315d134c8e2775b5d4c464d3
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Mon Sep 7 11:36:19 2020 +0200
this is an array now, as per archiver.py
---
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 821749a..6b0360a 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -313,7 +313,7 @@ class SlurpThread(Thread):
try: # temporary hack to try and find an encoding issue
# needs to be replaced by proper exception handling
json_source = {
- "permalink": json["mid"],
+ "permalinks": json["permalinks"],
"mid": json["dbid"],
"message-id": json["message-id"],
"source": archiver.mbox_source(message_raw),