aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Brattain <ross.b.brattain@intel.com>2017-04-03 23:45:57 -0700
committerJing Lu <lvjing5@huawei.com>2017-05-04 07:46:39 +0000
commit8548b7c3662f03c19e75a97978cd8520fa0798e7 (patch)
tree5656f76be7476d0566f1f8047bc4cccd883565ab
parent8362ebc1a0212f79bc9dedb4bf4d3865e811d440 (diff)
operation_general: fix logging to use %s
Change-Id: I1b37cbf07e8858ca3e75bb74c57fe84485ff4989 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> (cherry picked from commit 37f600566c56542999529da47299c4caf54d073a)
-rw-r--r--yardstick/benchmark/scenarios/availability/operation/operation_general.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/yardstick/benchmark/scenarios/availability/operation/operation_general.py b/yardstick/benchmark/scenarios/availability/operation/operation_general.py
index 42d70f4da..bfd7d04b0 100644
--- a/yardstick/benchmark/scenarios/availability/operation/operation_general.py
+++ b/yardstick/benchmark/scenarios/availability/operation/operation_general.py
@@ -71,7 +71,7 @@ class GeneralOperaion(BaseOperation):
stdin=stdin_file)
if exit_status == 0:
- LOG.debug("success,the operation's output is: {0}".format(stdout))
+ LOG.debug("success,the operation's output is: %s", stdout)
else:
LOG.error(
"the operation's error, stdout:%s, stderr:%s",