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

[tor-commits] [ooni-probe/master] Removed unnecessary import



commit 86318636124cefb9c133018bfc6ed79d4d9ff07d
Author: Arun Pandian G <arunpandianp@xxxxxxxxx>
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 mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits