ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject incubator-ponymail git commit: get index name :)
Date Sun, 17 Jul 2016 08:54:02 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 88c83da06 -> b89a0b231


get index name :)


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

Branch: refs/heads/master
Commit: b89a0b231d5aa44015e2479db9257170de65558d
Parents: 88c83da
Author: Daniel Gruno <humbedooh@apache.org>
Authored: Sun Jul 17 10:53:42 2016 +0200
Committer: Daniel Gruno <humbedooh@apache.org>
Committed: Sun Jul 17 10:53:42 2016 +0200

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


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/b89a0b23/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 59dbf95..48d3876 100644
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -267,6 +267,7 @@ class SlurpThread(Thread):
                 
                 # If --dedup is active, try to filter out any messages that already exist
                 if json and dedup and message.get('message-id', None):
+                    iname = config.get("elasticsearch", "dbname")
                     res = es.search(
                         index=iname,
                         doc_type="mbox",


Mime
View raw message