win32 and pydns problem
"Ionel Maries Cristian" <[email protected]>
| Newsgroups | gmane.comp.python.formencode |
|---|---|
| Message-ID | <[email protected]> |
formencode fails to work on win32 because of incorect call to DNS attached a fix -- http://ionel.zapto.org ionel. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ FormEncode-discuss mailing list FormEncode-discuss-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/formencode-discuss
validators.patch
(application/octet-stream, 321 B)
Index: validators.py
===================================================================
--- validators.py (revision 2718)
+++ validators.py (working copy)
@@ -42,7 +42,7 @@
try:
import DNS
- DNS.ParseResolvConf()
+ DNS.DiscoverNameServers()
have_dns=True
except ImportError:
have_dns=False