X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Finit_db.py;h=fcd108a4ad10cd82f68014ca375c438f71392cdf;hb=3670b5f49b4d70a8eaf7ac24f50a541c9286fde2;hp=e1f1bced854ddcece7528db09d150c0892d759f5;hpb=763c9d2215bdebfc538e9e75f5e1dcc3e4fd5a6b;p=dak.git diff --git a/dak/init_db.py b/dak/init_db.py index e1f1bced..fcd108a4 100755 --- a/dak/init_db.py +++ b/dak/init_db.py @@ -131,7 +131,7 @@ def do_suite(): projectB.query("INSERT INTO suite (suite_name, version, origin, " "description) VALUES ('%s', %s, %s, %s)" % (suite.lower(), version, origin, description)) - for architecture in database.get_suite_architectures(suite): + for architecture in Cnf.SubTree("Architectures").List(): architecture_id = database.get_architecture_id (architecture) if architecture_id < 0: utils.fubar("architecture '%s' not found in architecture"