[tor-commits] r25036: {check} add the import of DNSError so wsgi stops aborting the script (check/trunk/cgi-bin)
Andrew Lewman
andrew at torproject.org
Thu Sep 8 15:02:32 UTC 2011
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()
More information about the tor-commits
mailing list