[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [ooni-probe/master] Remove download file code
commit 86db406dbfe4508c44c9a7c4cbaec23d42fe0608
Author: Arturo Filastò <hellais@xxxxxxxxx>
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]
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits