From 67efb3e7d03b257c3d2001c23afa74f87fb4c77f Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Sat, 9 Jan 2010 15:13:15 -0500 Subject: [PATCH] wrong way to paramaterize Signed-off-by: Mike O'Connor --- dak/dakdb/update28.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dak/dakdb/update28.py b/dak/dakdb/update28.py index f1c8b2fa..0ff0151e 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() -- 2.39.5