ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [incubator-ponymail] branch master updated: Give access to dbname loaded from config
Date Wed, 23 May 2018 17:36:35 GMT
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 <sebb@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.

Mime
View raw message