From: Josiah Carlson Date: Fri, 11 Jul 2008 22:18:27 +0000 (+0000) Subject: Fix for AttributeError in test_asynchat. X-Git-Tag: v3.0b2~77 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c31bc9a498a3f5a90a721999a8880790e40634cf;p=python Fix for AttributeError in test_asynchat. --- diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 586358cff1..1a12255d62 100644 --- a/Lib/asyncore.py +++ b/Lib/asyncore.py @@ -101,7 +101,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: