Fix print when push_results_to_db fails
authorCédric Ollivier <cedric.ollivier@orange.com>
Fri, 19 Aug 2016 15:30:18 +0000 (17:30 +0200)
committerCédric Ollivier <cedric.ollivier@orange.com>
Fri, 19 Aug 2016 15:30:44 +0000 (17:30 +0200)
Change-Id: I82741a8727fc17bc6648e1b1e92511b3efd93b8a
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
utils/functest_utils.py

index 862b533..b83309e 100644 (file)
@@ -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