summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2013-09-27 21:13:25 -0700
committerJeff Forcier <jeff@bitprophet.org>2013-09-27 21:13:25 -0700
commit8cdbcfa1ffe98ed89cc7502dc3ab27d30965ffad (patch)
treed762b7e97ee319eb6249e039ca6b53b81221ffc9
parentbe68ca1020697bc064013efb933e33a9d03e115c (diff)
parente0d4fdbc5d7152f5f5c431d8ecf8c0845233b15a (diff)
Merge branch '1.8' into 1.9
-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()