aboutsummaryrefslogtreecommitdiff
path: root/rumba/ssh_support.py
diff options
context:
space:
mode:
authorMarco Capitani <m.capitani@nextworks.it>2017-11-15 09:28:38 +0100
committerSander Vrijders <sander.vrijders@ugent.be>2017-11-17 15:17:31 +0000
commit9d21bf51eb1765e0bdb15ef3d8b8700327bf2f66 (patch)
tree2fcc1e3e7f82de54d894bf0bf8da7c3f281b6f05 /rumba/ssh_support.py
parent134eae6b986709a6524afa1e1f18527cbe900eea (diff)
downloadrumba-9d21bf51eb1765e0bdb15ef3d8b8700327bf2f66.tar.gz
rumba-9d21bf51eb1765e0bdb15ef3d8b8700327bf2f66.zip
storyboard: make Client shutdown an argument
Before the shutdown call for the Client/ClientProcess was fixed to kill <pid>. Now it's passed as an argument to the Client constructor.
Diffstat (limited to 'rumba/ssh_support.py')
-rw-r--r--rumba/ssh_support.py4
1 files changed, 3 insertions, 1 deletions
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: