aboutsummaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2016-07-19 15:38:38 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-07-19 15:38:38 +0000
commite146706253b32bb5513e498c5703b32d8969ca17 (patch)
treeeeef421cb047f00cf706d839fa0a2639d790ca1c /utils
parent40bbe6cd80940e3ed320dca8b8ac7917353b5fcd (diff)
parent6e46af35376e25ee58069f651e2ec5ff765d3a09 (diff)
Merge "Show real time tempest test execution"
Diffstat (limited to 'utils')
-rw-r--r--utils/functest_utils.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/utils/functest_utils.py b/utils/functest_utils.py
index 9a19eb4ca..b51a1c868 100644
--- a/utils/functest_utils.py
+++ b/utils/functest_utils.py
@@ -244,7 +244,8 @@ def execute_command(cmd, logger=None,
print(msg_exec)
p = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE)
while True:
- line = p.stdout.readline().replace('\n', '')
+ output = p.stdout.readline()
+ line = output.replace('\n', '')
if not line:
break
if logger: