summaryrefslogtreecommitdiffstats
path: root/scripts/getstats1.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/getstats1.py')
-rw-r--r--scripts/getstats1.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/getstats1.py b/scripts/getstats1.py
index 89da8cf..f9e6005 100644
--- a/scripts/getstats1.py
+++ b/scripts/getstats1.py
@@ -89,8 +89,9 @@ class GetStats1:
self.host_id, self.platform_id, self.branch_id, self.sha1_id)
# Get all distinct benchmark/metric combinations matching the context:
- bmark_metrics = execQuery("SELECT DISTINCT benchmarkId, metricId"
- " FROM result WHERE contextId = %d;" % context_id)
+ bmark_metrics = execQuery(
+ "SELECT DISTINCT benchmarkId, metricId"
+ " FROM result WHERE contextId = %s", (context_id,))
bmstats_list = []