]> git.decadent.org.uk Git - dak.git/commitdiff
Suite::%s::{Architectures,Components}, OverrideType, Section, Location::%s::Suites...
authorJames Troup <james@nocrew.org>
Tue, 14 May 2002 15:34:02 +0000 (15:34 +0000)
committerJames Troup <james@nocrew.org>
Tue, 14 May 2002 15:34:02 +0000 (15:34 +0000)
jenna
jeri

diff --git a/jenna b/jenna
index e388ca1bfb8283ba1d824a03c89ee0627fccf284..a88718e07aaa009ba64d9e4a87cf495289e6e47c 100755 (executable)
--- a/jenna
+++ b/jenna
@@ -2,7 +2,7 @@
 
 # Generate file list which is then fed to apt-ftparchive to generate Packages and Sources files
 # Copyright (C) 2000, 2001, 2002  James Troup <james@nocrew.org>
-# $Id: jenna,v 1.16 2002-05-08 11:13:02 troup Exp $
+# $Id: jenna,v 1.17 2002-05-14 15:34:02 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
@@ -252,12 +252,12 @@ def main():
         if not Cnf.has_key("Suite::%s::Components" % (suite)):
             components = "-";
         if components == "":
-            components = string.join(Cnf.SubTree("Suite::%s::Components" % (suite)).List());
+            components = string.join(Cnf.ValueList("Suite::%s::Components" % (suite)));
         for component in string.split(components):
             component = string.lower(component)
             architectures = Options["Architecture"];
             if architectures == "":
-                architectures = string.join(Cnf.SubTree("Suite::%s::Architectures" % (suite)).List());
+                architectures = string.join(Cnf.ValueList("Suite::%s::Architectures" % (suite)));
             for architecture in string.split(architectures):
                 architecture = string.lower(architecture)
                 if architecture == "all":
diff --git a/jeri b/jeri
index ce69162d2ed645c4c8ad9b6af6e5efdd62f9d9d7..4059478099cf12cf687f241b6190b9ff66df305b 100755 (executable)
--- a/jeri
+++ b/jeri
@@ -2,7 +2,7 @@
 
 # Dependency check proposed-updates
 # Copyright (C) 2001, 2002  James Troup <james@nocrew.org>
-# $Id: jeri,v 1.5 2002-05-08 11:13:02 troup Exp $
+# $Id: jeri,v 1.6 2002-05-14 15:34:02 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
@@ -253,8 +253,8 @@ def parse_packages():
     # Parse the Packages files (since it's a sub-second operation on auric)
     suite = "stable";
     stable = {};
-    components = Cnf.SubTree("Suite::%s::Components" % (suite)).List();
-    architectures = Cnf.SubTree("Suite::%s::Architectures" % (suite)).List();
+    components = Cnf.ValueList("Suite::%s::Components" % (suite));
+    architectures = Cnf.ValueList("Suite::%s::Architectures" % (suite));
     for arch in [ "source", "all" ]:
         if architectures.count(arch):
             architectures.remove(arch);