Merge "Tacker objects in openstack snapshot"
[functest.git] / functest / ci / generate_report.py
index 9ae9dca..a90bc55 100755 (executable)
@@ -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))