summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2013-04-15 19:53:04 +0000
committerIsis Lovecruft <isis@torproject.org>2013-04-15 19:53:04 +0000
commit9a166f7cd1247e022ca2f0b5685e927f3d0edfca (patch)
tree4bb8f25402220a2c4fafd9b0473519d1a3f8f51d
parent368f03896aaf88249805b5ae2484c67d8fe73d74 (diff)
Remove duplicate call to bind database, it's in the super() call.
-rw-r--r--src/leap/mx/couchdb.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/leap/mx/couchdb.py b/src/leap/mx/couchdb.py
index e7aee8b..826e83e 100644
--- a/src/leap/mx/couchdb.py
+++ b/src/leap/mx/couchdb.py
@@ -50,9 +50,7 @@ class ConnectedCouchDB(client.CouchDB):
username=username,
password=password,
*args, **kwargs)
- if dbName:
- self.bindToDB(dbName)
- else:
+ if dbName is None:
databases = self.listDB()
log.msg("Available databases: %s" % databases)