diff options
author | Josiah Carlson <josiah.carlson@gmail.com> | 2008-07-11 22:17:14 (GMT) |
---|---|---|
committer | Josiah Carlson <josiah.carlson@gmail.com> | 2008-07-11 22:17:14 (GMT) |
commit | b65b4c3a4719f3c310a29e4369cfe69f4396d9d4 (patch) | |
tree | fea301e6a74940c702bd16d37b5acc7d4e0c9dd3 | |
parent | 2252d11c08643279ffe58e99f6c8d04014079a7f (diff) | |
download | cpython-b65b4c3a4719f3c310a29e4369cfe69f4396d9d4.zip cpython-b65b4c3a4719f3c310a29e4369cfe69f4396d9d4.tar.gz cpython-b65b4c3a4719f3c310a29e4369cfe69f4396d9d4.tar.bz2 |
Fix for the AttributeError in test_asynchat.
-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 e06b3b4..1ef4896 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: |