import time
from daklib.dak_exceptions import DBUpdateError
from daklib.config import Config
-from daklib.dakdb import DBConn
################################################################################
for suite in [i.lower() for i in suites]:
c.execute("SELECT id FROM suite WHERE suite_name ='%s'" % suite )
- rows = c.fetchall()
-
-
- suite_id = DBConn().get_suite_id(suite)
+ suiterow = c.fetchall()
+ suite_id=suiterow[0]
arch_list = arches(c, suite_id)
arch_list = arches(c, suite_id)