Fix for the AttributeError in test_asynchat.

This commit is contained in:
Josiah Carlson 2008-07-11 22:17:14 +00:00
parent 2252d11c08
commit b65b4c3a47
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ def readwrite(obj, flags):
if flags & (select.POLLERR | select.POLLNVAL): if flags & (select.POLLERR | select.POLLNVAL):
obj.handle_expt_event() obj.handle_expt_event()
if flags & select.POLLHUP: if flags & select.POLLHUP:
obj.handle_close_event() obj.handle_close()
except (ExitNow, KeyboardInterrupt, SystemExit): except (ExitNow, KeyboardInterrupt, SystemExit):
raise raise
except: except: