]> granicus.if.org Git - python/commitdiff
Fix for the AttributeError in test_asynchat.
authorJosiah Carlson <josiah.carlson@gmail.com>
Fri, 11 Jul 2008 22:17:14 +0000 (22:17 +0000)
committerJosiah Carlson <josiah.carlson@gmail.com>
Fri, 11 Jul 2008 22:17:14 +0000 (22:17 +0000)
Lib/asyncore.py

index e06b3b461c9390f8d151e95784cffd46ada0e188..1ef4896a79e03f06d07a6a0ba79753e35b439ca0 100644 (file)
@@ -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: