]> git.decadent.org.uk Git - dak.git/commitdiff
lalalal
authorMike O'Connor <stew@vireo.org>
Sat, 9 Jan 2010 20:17:15 +0000 (15:17 -0500)
committerMike O'Connor <stew@vireo.org>
Sat, 9 Jan 2010 20:17:15 +0000 (15:17 -0500)
Signed-off-by: Mike O'Connor <stew@vireo.org>
dak/dakdb/update28.py

index 917877d4be439236c7fb31bfc7e922ff003436fa..23db522baba44f2319184a5cd43baf2d72068a00 100755 (executable)
@@ -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)