commit 86318636124cefb9c133018bfc6ed79d4d9ff07d Author: Arun Pandian G arunpandianp@gmail.com Date: Sun Mar 23 09:20:53 2014 +0530
Removed unnecessary import --- ooni/nettests/manipulation/captiveportal.py | 7 ------- 1 file changed, 7 deletions(-)
diff --git a/ooni/nettests/manipulation/captiveportal.py b/ooni/nettests/manipulation/captiveportal.py index afaeee8..717bb10 100644 --- a/ooni/nettests/manipulation/captiveportal.py +++ b/ooni/nettests/manipulation/captiveportal.py @@ -44,13 +44,6 @@ from ooni.templates import httpt,dnst from ooni.utils import net from ooni.utils import log
-try: - from dns import resolver -except ImportError: - print "The dnspython module was not found:" - print "See https://crate.io/packages/dnspython/" - resolver = None - __plugoo__ = "captiveportal" __desc__ = "Captive portal detection test"
tor-commits@lists.torproject.org