]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fixup fixup fixup
authorHolger Levsen <holger@layer-acht.org>
Thu, 11 Oct 2012 14:56:44 +0000 (16:56 +0200)
committerHolger Levsen <holger@layer-acht.org>
Thu, 11 Oct 2012 14:56:44 +0000 (16:56 +0200)
db_add.py

index 3dfe8f0d77790af7f5e12a88c4b7cc8b22269e44..28f5a1dd98a054a87b527754a943cec5b21332f6 100755 (executable)
--- a/db_add.py
+++ b/db_add.py
@@ -174,7 +174,7 @@ def add_liveboot_build(job_name, build_number, request_id):
     con = db_connect()
     db_job_id = db_add_job(con, job_name)
     db_build_id = db_add_build (con, build_number, db_job_id)
-    db_add_requested_liveboot_build (con, request_id, build_id)
+    db_add_requested_liveboot_build (con, request_id, db_build_id)
     con.commit()
     logger.info("CIDB init for liveboot OK.")
     return