From: Joerg Jaspert Date: Sun, 19 Sep 2010 19:50:58 +0000 (+0200) Subject: And use the config.py foo X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=62609680fb94d1d1b2e8bba78906025f4d4e1088;p=dak.git And use the config.py foo Signed-off-by: Joerg Jaspert --- 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):