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/17 20:04:46 UTC

incubator-ponymail git commit: Show where the duplicate originated

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master dbff4c26b -> 8130e9176


Show where the duplicate originated

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

Branch: refs/heads/master
Commit: 8130e9176409af60e3a918e67b0f6b3732b13910
Parents: dbff4c2
Author: Sebb <se...@apache.org>
Authored: Thu Nov 17 20:04:33 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Thu Nov 17 20:04:33 2016 +0000

----------------------------------------------------------------------
 tools/import-mbox.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/8130e917/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index de53bc4..494e82a 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -278,9 +278,9 @@ class SlurpThread(Thread):
                 if json:
                     if args.dups:
                         try:
-                            duplicates[json['mid']].append(json['message-id'])
+                            duplicates[json['mid']].append(json['message-id'] + " in " + filename)
                         except:
-                            duplicates[json['mid']]=[json['message-id']]
+                            duplicates[json['mid']]=[json['message-id'] + " in " + filename]
 
                     json_source = {
                         'mid': json['mid'],