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): socket.getaddrinfo(hostname, port):
if socktype==socket.SOCK_STREAM: if socktype==socket.SOCK_STREAM:
af = family af = family
ADDR = sockaddr addr = sockaddr
break break
else: else:
raise SSHException('No suitable address family for %s' % hostname) raise SSHException('No suitable address family for %s' % hostname)