From af14c3715925b2ea8f877a0ef4e473b26567a433 Mon Sep 17 00:00:00 2001 From: Mike O'Connor Date: Sat, 9 Jan 2010 15:17:15 -0500 Subject: [PATCH] lalalal Signed-off-by: Mike O'Connor --- dak/dakdb/update28.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5