Commit c31bc9a4 authored by Josiah Carlson's avatar Josiah Carlson

Fix for AttributeError in test_asynchat.

parent 064e4a6c
......@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment