summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/ftplib.py1
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