(i previously sent this on 5 July, but it's not in the list archives,
 nor in subversion, so maybe it was dropped somewhere?)

hi,

the following patch fixes a problem with dnspython on Windows, where the
search list retrieved from the registry is handled incorrectly.

it should apply to 1.4.0

thanks,



d



diff -ur dnspython-1.4.0/dns/resolver.py dnspython-1.4.0-patched/dns/resolver.py
--- dnspython-1.4.0/dns/resolver.py     2006-06-03 07:32:18.000000000 +1000
+++ dnspython-1.4.0-patched/dns/resolver.py     2006-07-05 14:15:23.000000000 
+1000
@@ -398,7 +398,7 @@
         except WindowsError:
             search = None
         if search:
-            self._config_win32_search(servers)
+            self._config_win32_search(search)
 
     def read_registry(self):
         """Extract resolver configuration from the Windows registry."""
_______________________________________________
dnspython-bugs mailing list
[email protected]
http://woof.play-bow.org/mailman/listinfo/dnspython-bugs

Reply via email to