From 2a383c7244dee510e60752b6d88fb5c68cded1ec Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 19 Aug 2016 17:30:18 +0200 Subject: Fix print when push_results_to_db fails MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I82741a8727fc17bc6648e1b1e92511b3efd93b8a Signed-off-by: Cédric Ollivier --- utils/functest_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utils/functest_utils.py') diff --git a/utils/functest_utils.py b/utils/functest_utils.py index 862b53390..b83309e3a 100644 --- a/utils/functest_utils.py +++ b/utils/functest_utils.py @@ -222,8 +222,8 @@ def push_results_to_db(project, case_name, logger, r.raise_for_status() return True except Exception, e: - print("Error [push_results_to_db('%s', '%s', '%s', " + - "'%s', '%s', '%s', '%s', '%s', '%s')]:" % + print("Error [push_results_to_db('%s', '%s', '%s', '%s'," + "'%s', '%s', '%s', '%s', '%s')]:" % (url, project, case_name, pod_name, version, scenario, criteria, build_tag, details)), e return False -- cgit 1.2.3-korg