summaryrefslogtreecommitdiffhomepage
path: root/demos/forward.py
diff options
context:
space:
mode:
authorSebastian LaVine <mail@smlavine.com>2024-06-19 11:05:58 -0400
committerSebastian LaVine <mail@smlavine.com>2024-06-19 11:05:58 -0400
commit5e850d743c4d754f191332f0c4d9d1d9713702e6 (patch)
tree77126303f2c4722aa06d3bfe27aeeef386f8f63b /demos/forward.py
parent51eb55debf2ebfe56f38378005439a029a48225f (diff)
Fix and improve demo programs
This commit does a few things that make the demos more usable. Imports from paramiko.py3compat have been removed as that module was removed in commit 5c4b311b (2023-01-09), making it possible to run these demos with modern versions of the library. GSS support was made system-conditional in all demo files, as it was previously in demo_simple.py. Unused imports were removed. Docstrings were added to files that did not have them.
Diffstat (limited to 'demos/forward.py')
-rwxr-xr-x[-rw-r--r--]demos/forward.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/demos/forward.py b/demos/forward.py
index 869e3906..5b5e26a2 100644..100755
--- a/demos/forward.py
+++ b/demos/forward.py
@@ -27,8 +27,6 @@ connection to a destination reachable from the SSH server machine.
"""
import getpass
-import os
-import socket
import select
try: