]> git.decadent.org.uk Git - dak.git/blobdiff - dak/dakdb/update15.py
Actually select some rows.
[dak.git] / 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'))