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: Show where the duplicate originated
Date Thu, 17 Nov 2016 20:04:46 GMT
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 <sebb@apache.org>
Authored: Thu Nov 17 20:04:33 2016 +0000
Committer: Sebb <sebb@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'],


Mime
View raw message