diff --git a/paramiko/client.py b/paramiko/client.py index 89e4ee1..1644d46 100644 --- a/paramiko/client.py +++ b/paramiko/client.py @@ -277,7 +277,7 @@ class SSHClient (object): socket.getaddrinfo(hostname, port): if socktype==socket.SOCK_STREAM: af = family - ADDR = sockaddr + addr = sockaddr break else: raise SSHException('No suitable address family for %s' % hostname) @@ -480,4 +480,4 @@ class SSHClient (object): def _log(self, level, msg): self._transport._log(level, msg) - \ No newline at end of file +