[tor-commits] [ooni-probe/master] Fix typo if addToReport of http test

art at torproject.org art at torproject.org
Sun Dec 23 23:49:07 UTC 2012


commit 1045e07cd8e3089a7fa2c3a0a0fb3ebd213dcef5
Author: Arturo Filastò <art at fuffa.org>
Date:   Mon Dec 24 00:48:53 2012 +0100

    Fix typo if addToReport of http test
---
 ooni/templates/httpt.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/ooni/templates/httpt.py b/ooni/templates/httpt.py
index b727229..089aea5 100644
--- a/ooni/templates/httpt.py
+++ b/ooni/templates/httpt.py
@@ -299,7 +299,7 @@ class HTTPTest(NetTestCase):
         def errback(failure, request):
             failure_string = handleAllFailures(failure)
             log.err("Error performing %s" % request)
-            self.addToReport(request, failure=failure_string)
+            self.addToReport(request, failure_string=failure_string)
             return
 
         d = agent.request(request['method'], request['url'], headers,



More information about the tor-commits mailing list