You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2016/07/17 08:54:02 UTC

incubator-ponymail git commit: get index name :)

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 <hu...@apache.org>
Authored: Sun Jul 17 10:53:42 2016 +0200
Committer: Daniel Gruno <hu...@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",