aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/generate_report.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/ci/generate_report.py')
-rwxr-xr-xfunctest/ci/generate_report.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/ci/generate_report.py b/functest/ci/generate_report.py
index 9ae9dca5..a90bc555 100755
--- a/functest/ci/generate_report.py
+++ b/functest/ci/generate_report.py
@@ -41,8 +41,8 @@ def init(tiers_to_run):
def get_results_from_db():
- url = ft_utils.get_db_url() + '/results?build_tag=' \
- + GlobalVariables.BUILD_TAG
+ url = "%s/results?build_tag=%s" % (ft_utils.get_db_url(),
+ GlobalVariables.BUILD_TAG)
logger.debug("Query to rest api: %s" % url)
try:
data = json.load(urllib2.urlopen(url))