X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Finit_db.py;h=e1f1bced854ddcece7528db09d150c0892d759f5;hb=44345b75a64b07c5b7255b782db57427478c4882;hp=d6a7ebfb5710c5bb05edcc541cc6487fc0365268;hpb=b840ef0761e8b91bdec102b60b3bf09137627117;p=dak.git diff --git a/dak/init_db.py b/dak/init_db.py index d6a7ebfb..e1f1bced 100755 --- a/dak/init_db.py +++ b/dak/init_db.py @@ -106,11 +106,7 @@ def do_location(): utils.fubar("Archive '%s' for location '%s' not found." % (location_config["Archive"], location)) location_type = location_config.get("type") - if location_type == "legacy-mixed": - projectB.query("INSERT INTO location (path, archive, type) VALUES " - "('%s', %d, '%s')" - % (location, archive_id, location_config["type"])) - elif location_type == "legacy" or location_type == "pool": + if location_type == "pool": for component in Cnf.SubTree("Component").List(): component_id = database.get_component_id(component) projectB.query("INSERT INTO location (path, component, "