This commit is contained in:
Shikhar Bhushan 2009-04-18 18:50:19 +02:00
parent 20e3306f3d
commit 044814ba16
1 changed files with 2 additions and 2 deletions

View File

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