From ed6ae02c6c4b56149aaeb2b1bf06e32ae7400a15 Mon Sep 17 00:00:00 2001 From: Denis Bilenko Date: Fri, 10 Oct 2008 16:11:47 +0700 Subject: [PATCH] fixed typo and whitespace --- eventlet/hubs/twistedreactor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eventlet/hubs/twistedreactor.py b/eventlet/hubs/twistedreactor.py index a743062..5f80ee7 100644 --- a/eventlet/hubs/twistedreactor.py +++ b/eventlet/hubs/twistedreactor.py @@ -68,7 +68,7 @@ class Hub: def run(self, installSignalHandlers=True): # main loop, executed in a dedicated greenlet from twisted.internet import reactor - assert Hub.state in [1, 3], ('Run function is not reentrant', Hub.state) + assert Hub.state in [1, 3], ('run function is not reentrant', Hub.state) if Hub.state == 1: reactor.startRunning(installSignalHandlers=installSignalHandlers) @@ -98,7 +98,7 @@ class Hub: reactor.runUntilCurrent() t2 = reactor.timeout() t = reactor.running and t2 - reactor.doIteration(t) + reactor.doIteration(t) def stop(self): from twisted.internet import reactor