summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosiah Carlson <josiah.carlson@gmail.com>2008-07-11 22:17:14 (GMT)
committerJosiah Carlson <josiah.carlson@gmail.com>2008-07-11 22:17:14 (GMT)
commitb65b4c3a4719f3c310a29e4369cfe69f4396d9d4 (patch)
treefea301e6a74940c702bd16d37b5acc7d4e0c9dd3
parent2252d11c08643279ffe58e99f6c8d04014079a7f (diff)
downloadcpython-b65b4c3a4719f3c310a29e4369cfe69f4396d9d4.zip
cpython-b65b4c3a4719f3c310a29e4369cfe69f4396d9d4.tar.gz
cpython-b65b4c3a4719f3c310a29e4369cfe69f4396d9d4.tar.bz2
Fix for the AttributeError in test_asynchat.
-rw-r--r--Lib/asyncore.py2
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: