Merge branch '1.8' into 1.9

This commit is contained in:
Jeff Forcier 2013-09-27 21:13:25 -07:00
commit 8cdbcfa1ff
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ password = getpass.getpass('Password for %s@%s: ' % (username, hostname))
try:
client = paramiko.SSHClient()
client.load_system_host_keys()
client.set_missing_host_key_policy(paramiko.WarningPolicy)
client.set_missing_host_key_policy(paramiko.WarningPolicy())
print '*** Connecting...'
client.connect(hostname, port, username, password)
chan = client.invoke_shell()