]> err.no Git - dak/commitdiff
Actually select some rows.
authorChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 14:44:57 +0000 (14:44 +0000)
committerChris Lamb <lamby@debian.org>
Tue, 27 Oct 2009 14:44:57 +0000 (14:44 +0000)
Signed-off-by: Chris Lamb <lamby@debian.org>
dak/dakdb/update15.py

index 84f1f27b6dddd98195916854902fd88043c90d5b..475d1d344d53d20402b346ce2de35e28dc9e2daf 100644 (file)
@@ -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'))