# 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
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":
# 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
# 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);