X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcontrol_suite.py;h=d8f8227b2320e4d8302670f4757a180c7a84a26e;hb=d34d27f3196d602d8957463b4495cefbf402dc66;hp=1d5eb7accc227d6dcfe34de3287686a987b48b1f;hpb=731c2232d9964d0f441ff5ea386e5e9937aa77ab;p=dak.git diff --git a/dak/control_suite.py b/dak/control_suite.py index 1d5eb7ac..d8f8227b 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -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: @@ -302,7 +302,7 @@ def main (): # Safety/Sanity check # XXX: This should be stored in the database - if action == "set" and suite_name not in ["testing", "etch-m68k"]: + if action == "set" and suite_name not in ["testing"]: utils.fubar("Will not reset suite %s" % (suite_name)) if action == "list":