From 5e850d743c4d754f191332f0c4d9d1d9713702e6 Mon Sep 17 00:00:00 2001 From: Sebastian LaVine Date: Wed, 19 Jun 2024 11:05:58 -0400 Subject: 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. --- demos/forward.py | 2 -- 1 file changed, 2 deletions(-) mode change 100644 => 100755 demos/forward.py (limited to 'demos/forward.py') diff --git a/demos/forward.py b/demos/forward.py old mode 100644 new mode 100755 index 869e3906..5b5e26a2 --- 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: -- cgit v1.2.3