[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] r25036: {check} add the import of DNSError so wsgi stops aborting the script (check/trunk/cgi-bin)
Author: phobos
Date: 2011-09-08 15:02:32 +0000 (Thu, 08 Sep 2011)
New Revision: 25036
Modified:
check/trunk/cgi-bin/TorCheck.py
Log:
add the import of DNSError so wsgi stops aborting the script every time
it hits that code.
Modified: check/trunk/cgi-bin/TorCheck.py
===================================================================
--- check/trunk/cgi-bin/TorCheck.py 2011-09-07 03:34:18 UTC (rev 25035)
+++ check/trunk/cgi-bin/TorCheck.py 2011-09-08 15:02:32 UTC (rev 25036)
@@ -32,6 +32,7 @@
import cgi
import DNS
+from DNS import DNSError
# This is pydns and can be downloaded from http://pydns.sourceforge.net/
# Or use the Debian package listed above
import cgitb; cgitb.enable()
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits