[Telepathy-commits] [telepathy-salut/master] saluttest.py: Fix twisted problem with reactor.stop

Alban Crequy alban.crequy at collabora.co.uk
Thu Sep 11 04:22:48 PDT 2008


---
 tests/twisted/saluttest.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/saluttest.py b/tests/twisted/saluttest.py
index da0fc89..c5e6d31 100644
--- a/tests/twisted/saluttest.py
+++ b/tests/twisted/saluttest.py
@@ -79,7 +79,7 @@ def exec_test_deferred (fun, params, protocol=None, timeout=None):
           sys.stdout = colourer.fh
 
         if error is None:
-          reactor.stop()
+          reactor.callLater(0, reactor.stop)
         else:
           # please ignore the POSIX behind the curtain
           os._exit(1)
-- 
1.5.6.5




More information about the Telepathy-commits mailing list