[dak/master 03/10] wrong way to paramaterize
Signed-off-by: Mike O'Connor <stew@vireo.org>
---
dak/dakdb/update28.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dak/dakdb/update28.py b/dak/dakdb/update28.py
index f1c8b2f..0ff0151 100755
--- a/dak/dakdb/update28.py
+++ b/dak/dakdb/update28.py
@@ -50,7 +50,7 @@ def arches(cursor, suite):
cursor.execute("""SELECT s.architecture, a.arch_string
FROM suite_architectures s
JOIN architecture a ON (s.architecture=a.id)
- WHERE suite = :suite""", {'suite' : suite })
+ WHERE suite = '%s'""" % suite)
while True:
r = cursor.fetchone()
--
1.6.5
Reply to: