commit | e14267bbad5cfc96712025a7f14d1c259c975aa8 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Sun Sep 28 20:57:21 2008 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Sun Sep 28 20:57:21 2008 +0000 |
tree | db5528335c39172a7316577df703e7460d77cc85 | |
parent | 7ff19fa2932a15ba62390a2e9930f71e48dfad80 [diff] [blame] |
merge in the fix for test_ftplib on some bots [reviewed by Georg]
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index 7e8dce6..c48497d 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py
@@ -212,6 +212,11 @@ def handle_accept(self): conn, addr = self.accept() self.handler = self.handler(conn) + self.close() + + def handle_connect(self): + self.close() + handle_read = handle_connect def writable(self): return 0