summaryrefslogtreecommitdiffstats
path: root/scripts/listtestcases1.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/listtestcases1.py')
-rw-r--r--scripts/listtestcases1.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/scripts/listtestcases1.py b/scripts/listtestcases1.py
index 9e50cab..90f1cc5 100644
--- a/scripts/listtestcases1.py
+++ b/scripts/listtestcases1.py
@@ -21,9 +21,10 @@ class ListTestCases1:
# Get all distinct benchmarks matching the context:
bmark_ids = execQuery(
"SELECT DISTINCT benchmarkId "
- "FROM result WHERE contextId = %d;"
- % getContext(
- self.host_id, self.platform_id, self.branch_id, self.sha1_id))
+ "FROM result WHERE contextId = %s",
+ (getContext(
+ self.host_id, self.platform_id, self.branch_id,
+ self.sha1_id),))
# Extract all distinct test case components:
tc_map = {}