# Output override files for apt-ftparchive and indices/
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
# Output override files for apt-ftparchive and indices/
# Copyright (C) 2000, 2001 James Troup <james@nocrew.org>
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
override_suite = Cnf["Suite::%s::OverrideCodeName" % (suite)];
for component in Cnf.SubTree("Component").List():
if component == "mixed":
override_suite = Cnf["Suite::%s::OverrideCodeName" % (suite)];
for component in Cnf.SubTree("Component").List():
if component == "mixed":
# Munge the override file for testing by using unstable's where
# possible and falling back on stable's where it's not.
# Munge the override file for testing by using unstable's where
# possible and falling back on stable's where it's not.
suite = "testing";
suite_id = db_access.get_suite_id(suite);
override_suite = Cnf["Suite::%s::OverrideCodeName" % (suite)];
suite = "testing";
suite_id = db_access.get_suite_id(suite);
override_suite = Cnf["Suite::%s::OverrideCodeName" % (suite)];