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

art at torproject.org art at torproject.org
Tue Aug 27 09:21:51 UTC 2013


commit 8cdae801fb9414eeba62c1e2c6215d0eef7754b6
Author: Arturo Filastò <art at fuffa.org>
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():





More information about the tor-commits mailing list