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 2018/05/23 17:36:35 UTC

[incubator-ponymail] branch master updated: Give access to dbname loaded from config

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new a2a1615  Give access to dbname loaded from config
a2a1615 is described below

commit a2a1615bfae57fa169be0449a7c0aba6ce67036b
Author: Sebb <se...@apache.org>
AuthorDate: Wed May 23 18:36:33 2018 +0100

    Give access to dbname loaded from config
---
 tools/elastic.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tools/elastic.py b/tools/elastic.py
index 126773d..f743f10 100755
--- a/tools/elastic.py
+++ b/tools/elastic.py
@@ -79,6 +79,9 @@ class Elastic:
     def engineMajor(self):
         return int(self.engineVersion().split('.')[0])
         
+    def getdbname(self):
+        return self.dbname
+
     def search(self, doc_type='mbox', **kwargs):
         return self.es.search(
             index=self.dbname,

-- 
To stop receiving notification emails like this one, please contact
sebb@apache.org.