mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
Reverting the Revision: 77368. I committed Flox's big patch for tests by
mistake. ( It may come in for sure tough)
This commit is contained in:
parent
3ddc435af6
commit
ce8e33a095
107 changed files with 436 additions and 794 deletions
|
@ -100,7 +100,7 @@ class DummyFTPHandler(asynchat.async_chat):
|
|||
sock.listen(5)
|
||||
sock.settimeout(2)
|
||||
ip, port = sock.getsockname()[:2]
|
||||
ip = ip.replace('.', ','); p1, p2 = divmod(port, 256)
|
||||
ip = ip.replace('.', ','); p1 = port / 256; p2 = port % 256
|
||||
self.push('227 entering passive mode (%s,%d,%d)' %(ip, p1, p2))
|
||||
conn, addr = sock.accept()
|
||||
self.dtp = self.dtp_handler(conn, baseclass=self)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue