summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2016-08-19 17:30:18 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2016-08-19 17:30:44 +0200
commit2a383c7244dee510e60752b6d88fb5c68cded1ec (patch)
treef9d78eee82f2bdfc5b27acb0aef255bd9fd0f099
parent0c8fcab579d0027a6dd85722a3ba7f31bf966dba (diff)
Fix print when push_results_to_db fails
Change-Id: I82741a8727fc17bc6648e1b1e92511b3efd93b8a Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r--utils/functest_utils.py4
1 files changed, 2 insertions, 2 deletions
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