mirror of
https://github.com/python/cpython.git
synced 2025-08-31 14:07:50 +00:00
Merged revisions 66673 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r66673 | benjamin.peterson | 2008-09-28 15:57:21 -0500 (Sun, 28 Sep 2008) | 1 line merge in the fix for test_ftplib on some bots [reviewed by Georg] ........
This commit is contained in:
parent
89f09a687e
commit
d06e3b00e9
1 changed files with 5 additions and 0 deletions
|
@ -214,6 +214,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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue