diff options
author | Josiah Carlson <josiah.carlson@gmail.com> | 2008-07-11 22:18:27 (GMT) |
---|---|---|
committer | Josiah Carlson <josiah.carlson@gmail.com> | 2008-07-11 22:18:27 (GMT) |
commit | c31bc9a498a3f5a90a721999a8880790e40634cf (patch) | |
tree | bf79402c23322c2e2f4aed9429f449ed69b31040 /Lib/asyncore.py | |
parent | 064e4a6c4d61f2f2a7bdce80587ed2b50973c0ad (diff) | |
download | cpython-c31bc9a498a3f5a90a721999a8880790e40634cf.zip cpython-c31bc9a498a3f5a90a721999a8880790e40634cf.tar.gz cpython-c31bc9a498a3f5a90a721999a8880790e40634cf.tar.bz2 |
Fix for AttributeError in test_asynchat.
Diffstat (limited to 'Lib/asyncore.py')
-rw-r--r-- | Lib/asyncore.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/asyncore.py b/Lib/asyncore.py index 586358c..1a12255 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: |