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

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



commit 3dc58e0467a1be86208fffd08097652c6fe46f94
Author: Arturo Filastò <art@xxxxxxxxx>
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
 

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