From: Mike O'Connor Date: Sat, 9 Jan 2010 20:13:15 +0000 (-0500) Subject: wrong way to paramaterize X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67efb3e7d03b257c3d2001c23afa74f87fb4c77f;p=dak wrong way to paramaterize Signed-off-by: Mike O'Connor --- 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()