]> granicus.if.org Git - python/commitdiff
Fix for line wrap ugly.
authorJosiah Carlson <josiah.carlson@gmail.com>
Wed, 3 Jun 2009 19:51:52 +0000 (19:51 +0000)
committerJosiah Carlson <josiah.carlson@gmail.com>
Wed, 3 Jun 2009 19:51:52 +0000 (19:51 +0000)
Lib/asyncore.py

index 3672db9f0fd8fbee91f96bc6660b26cdf9095dc1..6d6ca33224179069d493c8cb6591f3c2c5bc8709 100644 (file)
@@ -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()