summaryrefslogtreecommitdiffhomepage
path: root/demos/demo_simple.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2013-09-27 21:16:10 -0700
committerJeff Forcier <jeff@bitprophet.org>2013-09-27 21:16:10 -0700
commit65271c65d220fd9a745a7040064826d4c168187b (patch)
tree3f53e3369acade5f001b18490e2a4e88e8e9e361 /demos/demo_simple.py
parent68cad65bb2f245e29476003493e86a7d8a801df5 (diff)
parent57046f44cb4ba3c9aec6f36eed2d8f3032730871 (diff)
Merge branch '1.10' into 1.11
Diffstat (limited to 'demos/demo_simple.py')
-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()