summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2013-09-27 21:13:21 -0700
committerJeff Forcier <jeff@bitprophet.org>2013-09-27 21:20:28 -0700
commitd4e18e1d1c842f2969bbd3d54200f7edb8d44f0c (patch)
treea4dd62b8a79829b40c3ecf2f81925b5126787ec8 /demos
parent152f1268699d7b5f1d2900cf06270d20aa838d60 (diff)
downloadparamiko-d4e18e1d1c842f2969bbd3d54200f7edb8d44f0c.tar.gz
Fix demo re #200
Diffstat (limited to 'demos')
-rwxr-xr-xdemos/demo_simple.py2
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()