diff options
Diffstat (limited to 'demos/demo_simple.py')
-rw-r--r-- | demos/demo_simple.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/demos/demo_simple.py b/demos/demo_simple.py index bd932c3e..e0247b0d 100644 --- a/demos/demo_simple.py +++ b/demos/demo_simple.py @@ -25,7 +25,6 @@ import os import socket import sys import traceback -from paramiko.py3compat import input import paramiko @@ -94,9 +93,7 @@ try: ) except Exception: # traceback.print_exc() - password = getpass.getpass( - "Password for %s@%s: " % (username, hostname) - ) + password = getpass.getpass("Password for %s@%s: " % (username, hostname)) client.connect(hostname, port, username, password) chan = client.invoke_shell() |