]> git.decadent.org.uk Git - dak.git/blobdiff - denise
Suite::%s::{Architectures,Components}, OverrideType, Section, Location::%s::Suites...
[dak.git] / denise
diff --git a/denise b/denise
index a134935715d28cd337bcaa00158c33889d5b872d..3c702daedb641d5202a693fbcd1174548a6aa98f 100755 (executable)
--- a/denise
+++ b/denise
@@ -2,7 +2,7 @@
 
 # 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
@@ -90,7 +90,7 @@ def main ():
         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":
@@ -116,7 +116,7 @@ def main ():
         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));