Kaydet (Commit) e14267bb authored tarafından Benjamin Peterson's avatar Benjamin Peterson

merge in the fix for test_ftplib on some bots [reviewed by Georg]

üst 7ff19fa2
......@@ -212,6 +212,11 @@ class DummyFTPServer(asyncore.dispatcher, threading.Thread):
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
......
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