Code Review
/
functest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Remove logger as input parameter of functions in openstack_utils
[functest.git]
/
utils
/
functest_utils.py
diff --git
a/utils/functest_utils.py
b/utils/functest_utils.py
index
9a19eb4
..
b51a1c8
100644
(file)
--- 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: