]> git.decadent.org.uk Git - dak.git/blobdiff - dak/control_suite.py
Kill etch
[dak.git] / dak / control_suite.py
index 1d5eb7accc227d6dcfe34de3287686a987b48b1f..d8f8227b2320e4d8302670f4757a180c7a84a26e 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:
@@ -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":