diff options
author | Guido van Rossum <guido@python.org> | 2001-12-23 13:54:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2001-12-23 13:54:19 (GMT) |
commit | 2826fade49f0bc8770a6a5e89f9ca94b7264a677 (patch) | |
tree | c0a8c906535bbd9ad164acbd81c60df0aff9169e /Lib | |
parent | 39960f6ec9ea90be73c2fbeaeda8eb7119921389 (diff) | |
download | cpython-2826fade49f0bc8770a6a5e89f9ca94b7264a677.zip cpython-2826fade49f0bc8770a6a5e89f9ca94b7264a677.tar.gz cpython-2826fade49f0bc8770a6a5e89f9ca94b7264a677.tar.bz2 |
Don't set passiveserver to 0 in connect(). See SF bug #495693.
This should definitely be backported to 2.2.1. I'll leave it to Jack
to decide whether he wants to fix this in MacPython 2.2.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/ftplib.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/ftplib.py b/Lib/ftplib.py index 592f5d2..a176a87 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -114,7 +114,6 @@ class FTP: - port: port to connect to (integer, default previous port)''' if host: self.host = host if port: self.port = port - self.passiveserver = 0 msg = "getaddrinfo returns an empty list" for res in socket.getaddrinfo(self.host, self.port, 0, socket.SOCK_STREAM): af, socktype, proto, canonname, sa = res |