Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

finished up pep8 event.py

Seems I missed changing the other code to reference
the is_set rather than isSet method. Somethings cannot
be seen in a single patch in Gerrit...

Change-Id: Ibbb07c06e98854907570111d4c407cafa11f7365
Reviewed-on: http://review.couchbase.org/18877
Reviewed-by: Pavel Paulau <pavel.paulau@gmail.com>
Reviewed-by: Volker Mische <volker.mische@gmail.com>
Tested-by: Benjamin Young <benjamin@couchbase.com>
  • Loading branch information...
commit 488360722329232eae8347ac0827f34c3443e3cd 1 parent e35d30a
@BigBlueHat BigBlueHat authored BigBlueHat committed
Showing with 1 addition and 4 deletions.
  1. +1 −1  couchbase/couchbaseclient.py
  2. +0 −3  couchbase/event.py
View
2  couchbase/couchbaseclient.py
@@ -269,7 +269,7 @@ def done(self):
def _respond(self, item, event):
timeout = 30
event.wait(timeout)
- if not event.isSet():
+ if not event.is_set():
# if we timeout, then try to reconnect to the server
# responsible for this vbucket
self.restart_vbucket_connection(self.vbucketid(item['key']))
View
3  couchbase/event.py
@@ -48,9 +48,6 @@ def __init__(self):
def set(self):
self.__state = True
- def isSet(self):
- return self.__state
-
def is_set(self):
return self.__state
Please sign in to comment.
Something went wrong with that request. Please try again.