Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MB-100: use Couchbase class instead of obsolete Server

Change-Id: I71db80daa788dc3ea2aa6d1856424bd8d9c9c113
Reviewed-on: http://review.couchbase.org/18389
Reviewed-by: Bin Cui <bin.cui@gmail.com>
Tested-by: Pavel Paulau <pavel.paulau@gmail.com>
  • Loading branch information...
commit 8acd154cf9d239f485bd7fe1fd78355ab5493003 1 parent d7702bc
Pavel Paulau pavel-paulau authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 cbdocloader
5 cbdocloader
View
@@ -107,8 +107,9 @@ class DocLoader:
temp_file.close()
def populate_docs(self):
- cb = client.Server(self.options.node, self.options.username,
- self.options.password)
+ cb = client.Couchbase(self.options.node,
+ self.options.username,
+ self.options.password)
self.bucket = cb[self.options.bucket]
self.views = list()
Please sign in to comment.
Something went wrong with that request. Please try again.