[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[dak/master] Actually select some rows.



Signed-off-by: Chris Lamb <lamby@debian.org>
---
 dak/dakdb/update15.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dak/dakdb/update15.py b/dak/dakdb/update15.py
index 84f1f27..475d1d3 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'))
-- 
1.6.3.3


Reply to: