[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] control_suite sql fixup



Signed-off-by: Joerg Jaspert <joerg@debian.org>
---
 dak/control_suite.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dak/control_suite.py b/dak/control_suite.py
index 1d5eb7a..7a979fa 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:
-- 
1.6.5


Reply to: