summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosiah Carlson <josiah.carlson@gmail.com>2008-07-11 22:18:27 (GMT)
committerJosiah Carlson <josiah.carlson@gmail.com>2008-07-11 22:18:27 (GMT)
commitc31bc9a498a3f5a90a721999a8880790e40634cf (patch)
treebf79402c23322c2e2f4aed9429f449ed69b31040
parent064e4a6c4d61f2f2a7bdce80587ed2b50973c0ad (diff)
downloadcpython-c31bc9a498a3f5a90a721999a8880790e40634cf.zip
cpython-c31bc9a498a3f5a90a721999a8880790e40634cf.tar.gz
cpython-c31bc9a498a3f5a90a721999a8880790e40634cf.tar.bz2
Fix for 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 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: