Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removing unused BucketCreationException import

Change-Id: If5f8c062a2fc5ffd5b039c69156bef6d8252c70e
Reviewed-on: http://review.couchbase.org/19887
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
  • Loading branch information...
commit 09f5b6c4600d5dd34a8786389f3a42a5493ce0a6 1 parent dd1ab7d
@BigBlueHat BigBlueHat authored BigBlueHat committed
Showing with 3 additions and 1 deletion.
  1. +3 −1 couchbase/client.py
View
4 couchbase/client.py
@@ -27,7 +27,6 @@
from couchbase.logger import logger
from couchbase.rest_client import RestConnection
from couchbase.couchbaseclient import CouchbaseClient
-from couchbase.exception import BucketCreationException
log = logger("client")
@@ -199,6 +198,9 @@ def __init__(self, name, server):
self.mc_client = CouchbaseClient(formatter_uri % (ip, port), self.name,
self.password)
+ def __del__(self):
+ self.mc_client.done()
+
def append(self, key, value, cas=0):
return self.mc_client.append(key, value, cas)
Please sign in to comment.
Something went wrong with that request. Please try again.