diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2013-09-27 21:16:18 -0700 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2013-09-27 21:16:18 -0700 |
commit | c3befd18a40d16624174f099a67c1e49bdf739ef (patch) | |
tree | 38a80d1c3b0e33f6758776036984dd94fc68bb27 /demos | |
parent | 88b568b76d6ca2f27252dda0c86df35916b35a36 (diff) | |
parent | 65271c65d220fd9a745a7040064826d4c168187b (diff) |
Merge branch '1.11'
Diffstat (limited to 'demos')
-rwxr-xr-x | demos/demo_simple.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/demo_simple.py b/demos/demo_simple.py index 231da8df..a1a90e8d 100755 --- a/demos/demo_simple.py +++ b/demos/demo_simple.py @@ -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() |