From: Mike O'Connor Date: Sat, 9 Jan 2010 20:17:15 +0000 (-0500) Subject: lalalal X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af14c3715925b2ea8f877a0ef4e473b26567a433;p=dak lalalal Signed-off-by: Mike O'Connor --- diff --git a/dak/dakdb/update28.py b/dak/dakdb/update28.py index 917877d4..23db522b 100755 --- a/dak/dakdb/update28.py +++ b/dak/dakdb/update28.py @@ -143,8 +143,8 @@ def do_update(self): for suite in [i.lower() for i in suites]: c.execute("SELECT id FROM suite WHERE suite_name ='%s'" % suite ) - suiterow = c.fetchall() - suite_id=suiterow[0] + suiterow = c.fetchone() + suite_id = suiterow[0] arch_list = arches(c, suite_id) arch_list = arches(c, suite_id)