aboutsummaryrefslogtreecommitdiff
path: root/rumba/ssh_support.py
diff options
context:
space:
mode:
authorMarco Capitani <m.capitani@nextworks.it>2017-06-15 12:54:04 +0200
committerMarco Capitani <m.capitani@nextworks.it>2017-06-15 12:54:04 +0200
commitd2744740a682701d3f1f714c15fe4265f4e7a495 (patch)
tree59f4e9ed22ebe63f93fc5562ab82b7329536bf5a /rumba/ssh_support.py
parent3ada31d1f6c112e1338225eacc982f6dc885292e (diff)
downloadrumba-d2744740a682701d3f1f714c15fe4265f4e7a495.tar.gz
rumba-d2744740a682701d3f1f714c15fe4265f4e7a495.zip
ssh_support + log: fixes for python 2 compatibility
Diffstat (limited to 'rumba/ssh_support.py')
-rw-r--r--rumba/ssh_support.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/rumba/ssh_support.py b/rumba/ssh_support.py
index a1e1ba4..b0970e1 100644
--- a/rumba/ssh_support.py
+++ b/rumba/ssh_support.py
@@ -40,7 +40,7 @@ def _print_stream(stream):
o_array = o.split('\\n')
for oi in o_array:
logger.debug(oi)
- return o
+ return o.rstrip()
def execute_proxy_commands(testbed, ssh_config, commands, time_out=3):