[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [ooni-probe/master] Fix bug that leads decks not being started properly



commit 8cdae801fb9414eeba62c1e2c6215d0eef7754b6
Author: Arturo Filastò <art@xxxxxxxxx>
Date:   Thu Aug 22 18:29:56 2013 +0200

    Fix bug that leads decks not being started properly
---
 ooni/oonicli.py |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/ooni/oonicli.py b/ooni/oonicli.py
index a7df18f..ef6ef84 100644
--- a/ooni/oonicli.py
+++ b/ooni/oonicli.py
@@ -208,9 +208,8 @@ def runWithDirector():
                     raise e
 
             log.debug("adding callback for startNetTest")
-            @d.addCallback
-            def cb(res):
-                director.startNetTest(net_test_loader, reporters)
+            director.startNetTest(net_test_loader, reporters)
+
         director.allTestsDone.addBoth(shutdown)
 
     def start():



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits