# Output override files for apt-ftparchive and indices/
# Copyright (C) 2000, 2001, 2002 James Troup <james@nocrew.org>
-# $Id: denise,v 1.10 2002-05-08 11:13:02 troup Exp $
+# $Id: denise,v 1.11 2002-05-14 15:28:53 troup Exp $
# 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
for component in Cnf.SubTree("Component").List():
if component == "mixed":
continue; # Ick
- for type in Cnf.SubTree("OverrideType").List():
+ for type in Cnf.ValueList("OverrideType"):
if type == "deb":
override_type = "";
elif type == "udeb":
if component == "mixed":
continue;
component_id = db_access.get_component_id(component);
- for type in Cnf.SubTree("OverrideType").List():
+ for type in Cnf.ValueList("OverrideType"):
if type == "deb":
override_type = "";
q = projectB.query("SELECT DISTINCT b.package FROM bin_associations ba, binaries b, files f, location l WHERE ba.suite = %s AND l.component = %s AND ba.bin = b.id AND b.file = f.id AND f.location = l.id" % (suite_id, component_id));