summaryrefslogtreecommitdiffstats
path: root/Lib/asyncore.py
diff options
context:
space:
mode:
authorJosiah Carlson <josiah.carlson@gmail.com>2009-06-03 19:51:52 (GMT)
committerJosiah Carlson <josiah.carlson@gmail.com>2009-06-03 19:51:52 (GMT)
commit96b79c851af6faac8b41383ab9549aaa7b84fd04 (patch)
treecbdfbf1a975d28af7a9f1c1476a8188e927072fa /Lib/asyncore.py
parenta810bc736c41eb82fff14f905d0ce35d3f2e5763 (diff)
downloadcpython-96b79c851af6faac8b41383ab9549aaa7b84fd04.zip
cpython-96b79c851af6faac8b41383ab9549aaa7b84fd04.tar.gz
cpython-96b79c851af6faac8b41383ab9549aaa7b84fd04.tar.bz2
Fix for line wrap ugly.
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r--Lib/asyncore.py3
1 files changed, 1 insertions, 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()