commit | 96b79c851af6faac8b41383ab9549aaa7b84fd04 | [log] [tgz] |
---|---|---|
author | Josiah Carlson <josiah.carlson@gmail.com> | Wed Jun 03 19:51:52 2009 +0000 |
committer | Josiah Carlson <josiah.carlson@gmail.com> | Wed Jun 03 19:51:52 2009 +0000 |
tree | cbdfbf1a975d28af7a9f1c1476a8188e927072fa | |
parent | a810bc736c41eb82fff14f905d0ce35d3f2e5763 [diff] |
Fix for line wrap ugly.
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 @@ 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()