diff options
-rw-r--r-- | paramiko/client.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paramiko/client.py b/paramiko/client.py index 89e4ee1c..1644d466 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 + |