From dd252fb7adc38adad977b5aefa712ed765aea79d Mon Sep 17 00:00:00 2001 From: Mattia Rizzolo Date: Sun, 18 Jun 2017 23:13:42 +0200 Subject: reproducible debian: db: fix syntax errors… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattia Rizzolo Signed-off-by: Holger Levsen --- bin/reproducible_db_maintenance.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/reproducible_db_maintenance.py b/bin/reproducible_db_maintenance.py index 27f3f56c..61b9374c 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 + "')" + ], } -- cgit v1.2.3-70-g09d2