From e0d4fdbc5d7152f5f5c431d8ecf8c0845233b15a Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 27 Sep 2013 21:13:21 -0700 Subject: [PATCH 1/2] Fix demo re #200 --- demos/demo_simple.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/demo_simple.py b/demos/demo_simple.py index 231da8d..a1a90e8 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() From 57046f44cb4ba3c9aec6f36eed2d8f3032730871 Mon Sep 17 00:00:00 2001 From: Jeff Forcier Date: Fri, 27 Sep 2013 21:16:06 -0700 Subject: [PATCH 2/2] Changelog re #200 --- NEWS | 2 ++ 1 file changed, 2 insertions(+) diff --git a/NEWS b/NEWS index 28a95ce..3a3849e 100644 --- a/NEWS +++ b/NEWS @@ -18,6 +18,8 @@ v1.10.4 (27th Sep 2013) * #179: Fix a missing variable causing errors when an ssh_config file has a non-default AddressFamily set. Thanks to Ed Marshall & Tomaz Muraus for catch & patch. +* #200: Fix an exception-causing typo in `demo_simple.py`. Thanks to Alex + Buchanan for catch & Dave Foster for patch. v1.10.3 (20th Sep 2013) -----------------------