From 7dc319894a3eeeddba1ca7c15bb5f137f6d09fc1 Mon Sep 17 00:00:00 2001 From: Chris Lamb Date: Tue, 27 Oct 2009 14:44:57 +0000 Subject: [PATCH] Actually select some rows. Signed-off-by: Chris Lamb --- dak/dakdb/update15.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dak/dakdb/update15.py b/dak/dakdb/update15.py index 84f1f27b..475d1d34 100644 --- a/dak/dakdb/update15.py +++ b/dak/dakdb/update15.py @@ -59,6 +59,7 @@ def do_update(self): """) print "Authorize format 1.0 on all suites by default" + c.execute("SELECT id FROM suite") suites = c.fetchall() for s in suites: c.execute("INSERT INTO suite_src_formats (suite, src_format) VALUES('%s', '%s')" % (s[0], '1.0')) -- 2.39.5