]> granicus.if.org Git - python/commitdiff
This fixes a small inconsistency between trunk and 3.0, closing bug 3764.
authorJosiah Carlson <josiah.carlson@gmail.com>
Sun, 7 Sep 2008 03:53:58 +0000 (03:53 +0000)
committerJosiah Carlson <josiah.carlson@gmail.com>
Sun, 7 Sep 2008 03:53:58 +0000 (03:53 +0000)
Lib/asyncore.py

index 9cd49616136021685d2d6d33321168b7f2b36d17..34e719a5685bcd682b0b01ffd5e73f367050efba 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()
+            obj.handle_close_event()
     except (ExitNow, KeyboardInterrupt, SystemExit):
         raise
     except: