mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #20978: pyflakes: fix undefined names
This commit is contained in:
parent
790bd6dd13
commit
69b1e261fc
3 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue