[tor-commits] [ooni-probe/master] Update lantern.py

art at torproject.org art at torproject.org
Mon Jul 27 13:44:21 UTC 2015


commit c8c45cdb32f51593ba31bb48f43307b63f63b968
Author: Arturo Filastò <arturo at filasto.net>
Date:   Mon Jun 29 20:49:43 2015 +0200

    Update lantern.py
---
 ooni/nettests/third_party/lantern.py |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/ooni/nettests/third_party/lantern.py b/ooni/nettests/third_party/lantern.py
index 896e11e..c7173ed 100644
--- a/ooni/nettests/third_party/lantern.py
+++ b/ooni/nettests/third_party/lantern.py
@@ -80,11 +80,11 @@ class LanternTest(ProcessTest):
 
         def addResultToReport(result):
             self.report['body'] = result
-            self.report['bootstrapped'] = True
+            self.report['success'] = True
 
         def addFailureToReport(failure):
             self.report['failure'] = handleAllFailures(failure)
-            self.report['bootstrapped'] = False
+            self.report['success'] = False
 
         def doRequest(noreason):
             log.debug("Doing HTTP request via Lantern (127.0.0.1:8787) for %s" % self.url)





More information about the tor-commits mailing list