Code Review
/
bottlenecks.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
autopep8 fix for flake8
[bottlenecks.git]
/
testsuites
/
vstf
/
vstf_scripts
/
vstf
/
common
/
cmds.py
diff --git
a/testsuites/vstf/vstf_scripts/vstf/common/cmds.py
b/testsuites/vstf/vstf_scripts/vstf/common/cmds.py
index
2952be2
..
f348a80
100644
(file)
--- a/
testsuites/vstf/vstf_scripts/vstf/common/cmds.py
+++ b/
testsuites/vstf/vstf_scripts/vstf/common/cmds.py
@@
-20,7
+20,9
@@
def execute(cmd=None, care_result=True):
try:
(status, ret) = commands.getstatusoutput(cmd)
if care_result and 0 != status:
try:
(status, ret) = commands.getstatusoutput(cmd)
if care_result and 0 != status:
- LOG.error('CMD<%(cmd)s> \nSTDOUT:\n%(ret)s.', {'cmd':cmd, 'ret':ret})
+ LOG.error(
+ 'CMD<%(cmd)s> \nSTDOUT:\n%(ret)s.', {
+ 'cmd': cmd, 'ret': ret})
return None
else:
return ret
return None
else:
return ret