From 96b79c851af6faac8b41383ab9549aaa7b84fd04 Mon Sep 17 00:00:00 2001 From: Josiah Carlson Date: Wed, 3 Jun 2009 19:51:52 +0000 Subject: Fix for line wrap ugly. --- Lib/asyncore.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 3672db9..6d6ca33 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -106,8 +106,7 @@ def readwrite(obj, flags): if flags & (select.POLLHUP | select.POLLERR | select.POLLNVAL): obj.handle_close() except socket.error, e: - if e.args[0] not in (EBADF, ECONNRESET, ENOTCONN, ESHUTDOWN, -ECONNABORTED): + if e.args[0] not in (EBADF, ECONNRESET, ENOTCONN, ESHUTDOWN, ECONNABORTED): obj.handle_error() else: obj.handle_close() -- cgit v0.12