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 2016/11/23 16:38:46 UTC

incubator-ponymail git commit: Ensure we show the thread id

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 02db41dd0 -> 5eb648e0b


Ensure we show the thread id

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

Branch: refs/heads/master
Commit: 5eb648e0b5b032c97fcd93af40c7a46d5cb1b4f3
Parents: 02db41d
Author: Sebb <se...@apache.org>
Authored: Wed Nov 23 16:38:25 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Wed Nov 23 16:38:25 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/5eb648e0/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index e29bc4c..6e5e6fd 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -297,7 +297,7 @@ class SlurpThread(Thread):
                             'source': message.as_string()
                         }
                     except Exception as e:
-                        print("Error '%s' processing id %s msg %s " % (e, json['mid'], json['message-id']))
+                        self.printid("Error '%s' processing id %s msg %s " % (e, json['mid'], json['message-id']))
                         continue
 
                     count += 1