diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 07:50:52 (GMT) |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-03-20 07:50:52 (GMT) |
| commit | 69b1e261fc703106b44095796d78ba6aacbbdb63 (patch) | |
| tree | 1d441b56ebe2a0c0dae1010641898a031cc2e050 /Lib/ftplib.py | |
| parent | 790bd6dd1322db0eba7635e86cfe3e54f6b04031 (diff) | |
| download | cpython-69b1e261fc703106b44095796d78ba6aacbbdb63.zip cpython-69b1e261fc703106b44095796d78ba6aacbbdb63.tar.gz cpython-69b1e261fc703106b44095796d78ba6aacbbdb63.tar.bz2 | |
Issue #20978: pyflakes: fix undefined names
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 2cc4702..c83be2b 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 |
