Merge branch '1.9' into 1.10

This commit is contained in:
Jeff Forcier 2013-09-27 21:14:35 -07:00
commit 1627ea6603
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()