[tor-commits] [ooni-probe/master] Rename Tor to control_agent

art at torproject.org art at torproject.org
Thu Nov 22 12:38:22 UTC 2012


commit 3dc58e0467a1be86208fffd08097652c6fe46f94
Author: Arturo Filastò <art at fuffa.org>
Date:   Thu Nov 22 13:37:49 2012 +0100

    Rename Tor to control_agent
---
 ooni/templates/httpt.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/ooni/templates/httpt.py b/ooni/templates/httpt.py
index 47fbeb7..9bf41e8 100644
--- a/ooni/templates/httpt.py
+++ b/ooni/templates/httpt.py
@@ -161,9 +161,9 @@ class HTTPTest(NetTestCase):
         # We prefix the URL with 's' to make the connection go over the
         # configured socks proxy
         if use_tor:
-            log.debug("Using tor for the request")
+            log.debug("Using control agent for the request")
             url = 's'+url
-            agent = self.tor_agent
+            agent = self.control_agent
         else:
             agent = self.agent
 



More information about the tor-commits mailing list