From: Thomas Viehmann Date: Tue, 7 Oct 2008 20:02:38 +0000 (+0000) Subject: move config to config X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b478500c58727a40b9ce6de765012160e93fd095;p=dak move config to config --- diff --git a/config/debian/dak.conf b/config/debian/dak.conf index 4377530c..75ea43ef 100644 --- a/config/debian/dak.conf +++ b/config/debian/dak.conf @@ -126,6 +126,11 @@ Show-New HTMLPath "/srv/ftp.debian.org/web/new/"; } +Show-Deferred +{ + LinkPath "/srv/ftp.debian.org/web/deferred/"; +} + Import-Users-From-Passwd { ValidGID "800"; diff --git a/dak/show_deferred.py b/dak/show_deferred.py index 69529225..81c117b1 100755 --- a/dak/show_deferred.py +++ b/dak/show_deferred.py @@ -176,10 +176,8 @@ def init(): Arguments = [('h',"help","Show-Deferred::Options::Help"), ("p","link-path","Show-Deferred::LinkPath","HasArg")] for i in ["help"]: - if not Cnf.has_key("Show-Deferred::Options::LinkPath"): - Cnf["Show-Deferred::Options::LinkPath"] = "/org/ftp.debian.org/web/deferred/" - if not Cnf.has_key("Show-Deferred::Options::%s" % (i)): - Cnf["Show-Deferred::Options::%s" % (i)] = "" + if not Cnf.has_key("Show-Deferred::Options::%s" % (i)): + Cnf["Show-Deferred::Options::%s" % (i)] = "" args = apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv) Options = Cnf.SubTree("Show-Deferred::Options") if Options["help"]: