From: Josiah Carlson Date: Fri, 11 Jul 2008 22:17:14 +0000 (+0000) Subject: Fix for the AttributeError in test_asynchat. X-Git-Tag: v2.6b2~68 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b65b4c3a4719f3c310a29e4369cfe69f4396d9d4;p=thirdparty%2FPython%2Fcpython.git Fix for the AttributeError in test_asynchat. --- diff --git a/Lib/asyncore.py b/Lib/asyncore.py index e06b3b461c93..1ef4896a79e0 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -102,7 +102,7 @@ def readwrite(obj, flags): if flags & (select.POLLERR | select.POLLNVAL): obj.handle_expt_event() if flags & select.POLLHUP: - obj.handle_close_event() + obj.handle_close() except (ExitNow, KeyboardInterrupt, SystemExit): raise except: