diff options
Diffstat (limited to 'Lib/ftplib.py')
-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 2cc470258e..c83be2b319 100644 --- a/Lib/ftplib.py +++ b/Lib/ftplib.py @@ -320,7 +320,6 @@ class FTP: raise err else: raise OSError("getaddrinfo returns an empty list") - raise OSError(msg) sock.listen(1) port = sock.getsockname()[1] # Get proper port host = self.sock.getsockname()[0] # Get proper host |