summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2013-04-15 19:53:39 +0000
committerIsis Lovecruft <isis@torproject.org>2013-04-15 19:53:39 +0000
commit6e97e1f509025569979153542aa2362bb7c2f413 (patch)
treedd67258be5c502a1024cbed0a939e3b5245c368a /src/leap
parent9a166f7cd1247e022ca2f0b5685e927f3d0edfca (diff)
Override parent CouchDB methods for database creation and deletion.
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/mx/couchdb.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/leap/mx/couchdb.py b/src/leap/mx/couchdb.py
index 826e83e..9b69091 100644
--- a/src/leap/mx/couchdb.py
+++ b/src/leap/mx/couchdb.py
@@ -54,6 +54,14 @@ class ConnectedCouchDB(client.CouchDB):
databases = self.listDB()
log.msg("Available databases: %s" % databases)
+ def createDB(self, dbName):
+ """Overrides ``paisley.client.CouchDB.createDB``."""
+ pass
+
+ def deleteDB(self, dbName):
+ """Overrides ``paisley.client.CouchDB.deleteDB``."""
+ pass
+
def queryByEmailOrAlias(self, alias, dbDoc="User",
view="by_email_or_alias"):
"""