]> git.decadent.org.uk Git - dak.git/commitdiff
wrong way to paramaterize
authorMike O'Connor <stew@vireo.org>
Sat, 9 Jan 2010 20:13:15 +0000 (15:13 -0500)
committerMike O'Connor <stew@vireo.org>
Sat, 9 Jan 2010 20:13:15 +0000 (15:13 -0500)
Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/dakdb/update28.py

index f1c8b2fa3a9f2bcb5c960baf4cebeb0fea8c17fe..0ff0151e4779e7a3845885cb783113527838832b 100755 (executable)
@@ -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()