diff options
| author | Bob Halley <halley@dnspython.org> | 2005-09-02 05:33:14 +0000 |
|---|---|---|
| committer | Bob Halley <halley@dnspython.org> | 2005-09-02 05:33:14 +0000 |
| commit | 4d625cd8f3be221d61983409e910bfc1df240ff5 (patch) | |
| tree | 7442c34f6e251e362fc522467d7479b1714105ce | |
| parent | 2725c6e088dde47521fb27dd4d717ed661be8282 (diff) | |
| download | dnspython-4d625cd8f3be221d61983409e910bfc1df240ff5.tar.gz | |
EALREADY is OK too
Original author: Bob Halley <halley@dnspython.org>
Date: 2005-07-22 20:14:42
| -rw-r--r-- | dns/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dns/query.py b/dns/query.py index f55de66..f8c0ae3 100644 --- a/dns/query.py +++ b/dns/query.py @@ -142,7 +142,7 @@ def _connect(s, address): s.connect(address) except socket.error: (ty, v) = sys.exc_info()[:2] - if v[0] != errno.EINPROGRESS and v[0] != errno.EWOULDBLOCK: + if v[0] != errno.EINPROGRESS and v[0] != errno.EWOULDBLOCK and v[0] != errno.EALREADY: raise ty, v def tcp(q, where, timeout=None, port=53, af=None): |
