Issue #20978: pyflakes: fix undefined names

This commit is contained in:
Victor Stinner 2014-03-20 08:50:52 +01:00
parent 790bd6dd13
commit 69b1e261fc
3 changed files with 2 additions and 3 deletions

View file

@ -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