summaryrefslogtreecommitdiffhomepage
path: root/demos/rforward.py
diff options
context:
space:
mode:
Diffstat (limited to 'demos/rforward.py')
-rwxr-xr-xdemos/rforward.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/demos/rforward.py b/demos/rforward.py
index 200634ab..e3d4e016 100755
--- a/demos/rforward.py
+++ b/demos/rforward.py
@@ -77,9 +77,7 @@ def reverse_forward_tunnel(server_port, remote_host, remote_port, transport):
chan = transport.accept(1000)
if chan is None:
continue
- thr = threading.Thread(
- target=handler, args=(chan, remote_host, remote_port)
- )
+ thr = threading.Thread(target=handler, args=(chan, remote_host, remote_port))
thr.setDaemon(True)
thr.start()
@@ -136,8 +134,7 @@ def parse_options():
type="string",
dest="user",
default=getpass.getuser(),
- help="username for SSH authentication (default: %s)"
- % getpass.getuser(),
+ help="username for SSH authentication (default: %s)" % getpass.getuser(),
)
parser.add_option(
"-K",