[tor-commits] [ooni-probe/master] Remove download file code

art at torproject.org art at torproject.org
Sun Feb 12 16:18:24 UTC 2012


commit 86db406dbfe4508c44c9a7c4cbaec23d42fe0608
Author: Arturo Filastò <hellais at gmail.com>
Date:   Sun Feb 12 17:12:27 2012 +0100

    Remove download file code
---
 refactor/tests/bridget.py |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/refactor/tests/bridget.py b/refactor/tests/bridget.py
index 5ad16c0..c6d25d4 100644
--- a/refactor/tests/bridget.py
+++ b/refactor/tests/bridget.py
@@ -84,18 +84,11 @@ usemicrodescriptors 0
                 ret[cfield[0]] = ' '.join(cfield[1:])
         return ret
 
-    @torify
-    def download_file(self):
-        f = urllib2.urlopen('http://check.torproject.org')
-        print f.readlines()
-
-
     def connect(self, bridge, timeout=None):
         if not timeout:
             if self.config.tests.tor_bridges_timeout:
                 self.timeout = self.config.tests.tor_bridges_timeout
             timeout = self.timeout
-        self.download_file()
         torrc, tordir, controlport = self.writetorrc(bridge)
         cmd = ["tor", "-f", torrc]
 





More information about the tor-commits mailing list