ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: import-mbox.py fails to unescape >From lines
Date Mon, 01 May 2017 15:04:55 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master f70d824d4 -> 2b8b5b0da


import-mbox.py fails to unescape >From lines

Part of #212

Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/2b8b5b0d
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/2b8b5b0d
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/2b8b5b0d

Branch: refs/heads/master
Commit: 2b8b5b0da7baf96ebb8e9b15702f3a2a3ce0b2b6
Parents: f70d824
Author: Sebb <sebb@apache.org>
Authored: Mon May 1 16:04:51 2017 +0100
Committer: Sebb <sebb@apache.org>
Committed: Mon May 1 16:04:51 2017 +0100

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


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/2b8b5b0d/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index d603006..3a2d767 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -233,7 +233,7 @@ class SlurpThread(Thread):
                 with open(tmpname, "w") as f:
                     f.write(inp)
                     f.close()
-                messages = mailbox.mbox(tmpname, create=False)
+                messages = mailbox.mbox(tmpname, MboxoFactory, create=False)
 
             count = 0
             bad = 0


Mime
View raw message