From e08627b88aa98dc957f26734d5fc61976be35258 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 12 Jun 2009 14:00:24 +0700 Subject: [PATCH] coros: remove invalid comment --- eventlet/coros.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/eventlet/coros.py b/eventlet/coros.py index 161ec13..d43b0a9 100644 --- a/eventlet/coros.py +++ b/eventlet/coros.py @@ -196,13 +196,11 @@ class event(object): >>> api.sleep(0) received stuff """ - # why is waiter not used? if waiter in self._waiters: del self._waiters[waiter] # XXX This does not check that waiter still waits when throw actually happens # XXX and therefore is broken (see how send() deals with this) - api.get_hub().schedule_call( - 0, waiter.throw, Cancelled()) + api.get_hub().schedule_call(0, waiter.throw, Cancelled()) def send(self, result=None, exc=None): """Makes arrangements for the waiters to be woken with the