]> git.decadent.org.uk Git - dak.git/commitdiff
move config to config
authorThomas Viehmann <tv@beamnet.de>
Tue, 7 Oct 2008 20:02:38 +0000 (20:02 +0000)
committerThomas Viehmann <tv@beamnet.de>
Tue, 7 Oct 2008 20:02:38 +0000 (20:02 +0000)
config/debian/dak.conf
dak/show_deferred.py

index 4377530c55f0ca324cf93ae34ff330b2db423796..75ea43ef379e7895ed4ce7f29956f3be423c47d7 100644 (file)
@@ -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";
index 695292251e8d18c86e0a0e6e91f3ae33c0186411..81c117b148e64c3c9b9b1fee844188720c2a7d1e 100755 (executable)
@@ -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"]: