From 9d21bf51eb1765e0bdb15ef3d8b8700327bf2f66 Mon Sep 17 00:00:00 2001 From: Marco Capitani Date: Wed, 15 Nov 2017 09:28:38 +0100 Subject: storyboard: make Client shutdown an argument Before the shutdown call for the Client/ClientProcess was fixed to kill . Now it's passed as an argument to the Client constructor. --- rumba/ssh_support.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rumba/ssh_support.py') diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py index 39dbf5f..fbe68c8 100644 --- a/rumba/ssh_support.py +++ b/rumba/ssh_support.py @@ -51,7 +51,9 @@ def get_ssh_client(): def _print_stream(stream): - o = str(stream.read()).strip('b\'\"\\n') + o = str(stream.read()).strip('b') + o = o.strip('\'\"') + o = o.replace('\\n', '') if o != "": o_array = o.split('\\n') for oi in o_array: -- cgit v1.2.3