diff --git a/NEWS b/NEWS index ee34ec2..2c997d2 100644 --- a/NEWS +++ b/NEWS @@ -39,6 +39,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.11.1 (20th Sep 2013) ----------------------- 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()