commit 7ef7b51b1d76878d33767876ff4e9c0a4dd70fc2
Author: Isis Lovecruft <[email protected]>
Date: Tue Oct 23 11:45:08 2012 +0000
* Cleaned up a statement printed on ImportError when dnspython is not
installed.
* TODO Fix the Resolver in twisted.python.names so that we can use it
instead
of dnspython.
---
nettests/core/captiveportal.py | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/nettests/core/captiveportal.py b/nettests/core/captiveportal.py
index 6eed04d..46f0856 100644
--- a/nettests/core/captiveportal.py
+++ b/nettests/core/captiveportal.py
@@ -25,7 +25,8 @@ from ooni.utils import log
try:
from dns import resolver
except ImportError:
- print "The dnspython module was not found.
https://crate.io/packages/dnspython/"
+ print "The dnspython module was not found:"
+ print "See https://crate.io/packages/dnspython/"
resolver = None
__plugoo__ = "captiveportal"
_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits