]> git.decadent.org.uk Git - dak.git/commitdiff
control_suite sql fixup
authorJoerg Jaspert <joerg@debian.org>
Fri, 29 Jan 2010 19:29:30 +0000 (20:29 +0100)
committerJoerg Jaspert <joerg@debian.org>
Fri, 29 Jan 2010 19:29:30 +0000 (20:29 +0100)
Signed-off-by: Joerg Jaspert <joerg@debian.org>
dak/control_suite.py

index 1d5eb7accc227d6dcfe34de3287686a987b48b1f..7a979fa45ed1dffcbd25d46d64afe4048d8ec4ff 100755 (executable)
@@ -223,7 +223,7 @@ def process_file(file, suite, action, session):
                     continue
                 else:
                     session.execute("""INSERT INTO bin_associations (suite, bin)
-                                            VALUES (%s, %s)""",
+                                            VALUES (:suiteid, :pkid)""",
                                        {'suiteid': suite_id, 'pkid': pkid})
             elif action == "remove":
                 if association_id == None: