[Qa-jenkins-scm] [jenkins.debian.net] 01/01: reproducible debian: db: fix syntax errors…

Holger Levsen holger at layer-acht.org
Sun Jun 18 21:15:08 UTC 2017


This is an automated email from the git hooks/post-receive script.

holger pushed a commit to branch master
in repository jenkins.debian.net.

commit dd252fb7adc38adad977b5aefa712ed765aea79d
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Sun Jun 18 23:13:42 2017 +0200

    reproducible debian: db: fix syntax errors…
    
    Signed-off-by: Mattia Rizzolo <mattia at debian.org>
    Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
 bin/reproducible_db_maintenance.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py
index 27f3f56..61b9374 100755
--- a/bin/reproducible_db_maintenance.py
+++ b/bin/reproducible_db_maintenance.py
@@ -610,7 +610,7 @@ schema_updates = {
         """INSERT INTO sources (name, version, suite, architecture, notify_maintainer)
             SELECT name, version, 'buster', architecture, notify_maintainer
             FROM sources
-            WHERE suite = 'stretch'"""
+            WHERE suite = 'stretch'""",
         """WITH buster AS (
                 SELECT id, name, suite, architecture, version
                 FROM sources WHERE suite = 'buster'),
@@ -626,6 +626,7 @@ schema_updates = {
                 FROM buster AS b JOIN sr ON b.name=sr.name
                     AND b.architecture=sr.architecture""",
         "INSERT INTO rb_schema (version, date) VALUES (32, '" + now + "')"
+    ],
 }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git



More information about the Qa-jenkins-scm mailing list