operation_general: fix logging to use %s 85/32985/1
authorRoss Brattain <ross.b.brattain@intel.com>
Tue, 4 Apr 2017 06:45:57 +0000 (23:45 -0700)
committerRoss Brattain <ross.b.brattain@intel.com>
Wed, 5 Apr 2017 04:28:55 +0000 (21:28 -0700)
Change-Id: I1b37cbf07e8858ca3e75bb74c57fe84485ff4989
Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
yardstick/benchmark/scenarios/availability/operation/operation_general.py

index 42d70f4..bfd7d04 100644 (file)
@@ -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",