commit | 977c707b425ee753d54f3e9010f07ec77ef61274 | [log] [tgz] |
---|---|---|
author | Giampaolo RodolĂ <g.rodola@gmail.com> | Mon Oct 04 21:08:36 2010 +0000 |
committer | Giampaolo RodolĂ <g.rodola@gmail.com> | Mon Oct 04 21:08:36 2010 +0000 |
tree | 580e12fd41103a684b4c24b53d43569eb69bc6a8 | |
parent | 4c94c5363091350ed56bfbdbc6cc00e1048b456c [diff] [blame] |
Fix issue 6706: adds new handle_accepted() method to asyncore.dispatcher
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index 8164ede..c9bb06e 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py
@@ -244,8 +244,7 @@ self.active = False self.join() - def handle_accept(self): - conn, addr = self.accept() + def handle_accepted(self, conn, addr): self.handler_instance = self.handler(conn) def handle_connect(self):