From 8548b7c3662f03c19e75a97978cd8520fa0798e7 Mon Sep 17 00:00:00 2001 From: Ross Brattain Date: Mon, 3 Apr 2017 23:45:57 -0700 Subject: operation_general: fix logging to use %s Change-Id: I1b37cbf07e8858ca3e75bb74c57fe84485ff4989 Signed-off-by: Ross Brattain (cherry picked from commit 37f600566c56542999529da47299c4caf54d073a) --- .../benchmark/scenarios/availability/operation/operation_general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit 1.2.3-korg