Permalink
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...
1 parent e35d30a commit 488360722329232eae8347ac0827f34c3443e3cd @BigBlueHat BigBlueHat committed with Benjamin Young Jul 25, 2012
Showing with 1 addition and 4 deletions.
  1. +1 −1 couchbase/couchbaseclient.py
  2. +0 −3 couchbase/event.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
@@ -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

0 comments on commit 4883607

Please sign in to comment.