Upgraded pyevent hub to use the parlance of our times.

This commit is contained in:
Ryan Williams
2010-01-11 23:43:07 -08:00
parent b4653a53c5
commit a14c52e928

View File

@@ -96,8 +96,7 @@ class Hub(BaseHub):
self.schedule_call_global(0, api.getcurrent().parent.throw, *self.signal_exc_info) self.schedule_call_global(0, api.getcurrent().parent.throw, *self.signal_exc_info)
self.signal_exc_info = None self.signal_exc_info = None
else: else:
if not self.silent_timer_exceptions: self.squelch_timer_exception(None, sys.exc_info())
traceback.print_exc()
def abort(self): def abort(self):
self.schedule_call_global(0, self.greenlet.throw, api.GreenletExit) self.schedule_call_global(0, self.greenlet.throw, api.GreenletExit)