summaryrefslogtreecommitdiffhomepage
path: root/demos
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2013-09-27 21:14:35 -0700
committerJeff Forcier <jeff@bitprophet.org>2013-09-27 21:14:35 -0700
commit1627ea66038c8f125ab70eb05a2883aab9004398 (patch)
tree848cbfd296cb9bb54229c278dc492b4898ce0ba2 /demos
parent1009b72ed0c7252505586764e0f086492b937311 (diff)
parent8cdbcfa1ffe98ed89cc7502dc3ab27d30965ffad (diff)
Merge branch '1.9' into 1.10
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()