From: Cédric Ollivier Date: Fri, 19 Aug 2016 15:30:18 +0000 (+0200) Subject: Fix print when push_results_to_db fails X-Git-Tag: colorado.1.0~118^2 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=2a383c7244dee510e60752b6d88fb5c68cded1ec;p=functest.git Fix print when push_results_to_db fails Change-Id: I82741a8727fc17bc6648e1b1e92511b3efd93b8a Signed-off-by: Cédric Ollivier --- 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