X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Finit_db.py;fp=dak%2Finit_db.py;h=e15d7680799ab0dc0d69e24ebf5743cc249f3ba4;hb=425e44739cd77ffa01294f23e94ae7eabd5f5ec8;hp=31a2a5a7b9d022db2f660a4564e0c21496720ee9;hpb=459c6eaf4425915f363530216cd239fe9d8d0f9d;p=dak.git diff --git a/dak/init_db.py b/dak/init_db.py index 31a2a5a7..e15d7680 100755 --- a/dak/init_db.py +++ b/dak/init_db.py @@ -139,7 +139,7 @@ class InitDB(object): origin = sql_get(suite_config, "Origin") description = sql_get(suite_config, "Description") c.execute(suite_add, [suite.lower(), version, origin, description]) - for architecture in self.Cnf.ValueList("Suite::%s::Architectures" % (suite)): + for architecture in self.Cnf.SubTree("Architectures").List(): architecture_id = self.projectB.get_architecture_id (architecture) if architecture_id < 0: utils.fubar("architecture '%s' not found in architecture"