From 62609680fb94d1d1b2e8bba78906025f4d4e1088 Mon Sep 17 00:00:00 2001 From: Joerg Jaspert Date: Sun, 19 Sep 2010 21:50:58 +0200 Subject: [PATCH] And use the config.py foo Signed-off-by: Joerg Jaspert --- dak/generate_releases.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dak/generate_releases.py b/dak/generate_releases.py index 5d7f007b..15ad1244 100755 --- a/dak/generate_releases.py +++ b/dak/generate_releases.py @@ -36,6 +36,7 @@ import apt_pkg from daklib import utils from daklib.dak_exceptions import * from daklib.dbconn import * +from daklib.config import Config ################################################################################ @@ -178,6 +179,7 @@ def main (): out = sys.stdout Cnf = utils.get_conf() + cnf = Config() Arguments = [('h',"help","Generate-Releases::Options::Help"), ('a',"apt-conf","Generate-Releases::Options::Apt-Conf", "HasArg"), @@ -371,7 +373,7 @@ def main (): keyring += " --keyring \"%s\"" % Cnf["Dinstall::SigningPubKeyring"] arguments = "--no-options --batch --no-tty --armour" - signkeyids=Cnf.signingkeyids.split() + signkeyids=cnf.signingkeyids.split() dest = Cnf["Dir::Root"] + tree + "/Release.gpg" if os.path.exists(dest): -- 2.39.5