From: Chris Lamb Date: Tue, 27 Oct 2009 14:44:57 +0000 (+0000) Subject: Actually select some rows. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7dc319894a3eeeddba1ca7c15bb5f137f6d09fc1;p=dak Actually select some rows. Signed-off-by: Chris Lamb --- 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'))