From e0d4fdbc5d7152f5f5c431d8ecf8c0845233b15a Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 27 Sep 2013 21:13:21 -0700 Subject: Fix demo re #200 --- demos/demo_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demos/demo_simple.py') 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() -- cgit v1.2.3