Files
dnsupdate/installer/dnspython-1.2.0.win32.patch

17 lines
586 B
Diff

Index: dns/query.py
===================================================================
RCS file: /proj/cvs/dnspython/dns/query.py,v
retrieving revision 1.16
diff -u -u -r1.16 query.py
--- dns/query.py 6 Sep 2003 08:21:04 -0000 1.16
+++ dns/query.py 16 Jan 2004 11:53:13 -0000
@@ -130,7 +130,7 @@
s.connect(address)
except socket.error:
(ty, v) = sys.exc_info()[:2]
- if v[0] != errno.EINPROGRESS:
+ if v[0] != errno.EINPROGRESS and v[0] != errno.EWOULDBLOCK:
raise ty, v
def tcp(q, where, timeout=None, port=53, af=socket.AF_INET):