]> git.decadent.org.uk Git - dak.git/commitdiff
Days is a numeric parameter, not string. I've set it to default to 14 fornow...
authorRyan Murray <rmurray@debian.org>
Wed, 14 Nov 2001 05:06:14 +0000 (05:06 +0000)
committerRyan Murray <rmurray@debian.org>
Wed, 14 Nov 2001 05:06:14 +0000 (05:06 +0000)
shania

diff --git a/shania b/shania
index 83b748ae104fb981ebc29fc7adbc90ed3cec5dd5..2f86488f04df73de9f2e2864a379aabf82578425 100755 (executable)
--- a/shania
+++ b/shania
@@ -2,7 +2,7 @@
 
 # Clean incoming of old unused files
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: shania,v 1.6 2001-09-27 01:22:51 troup Exp $
+# $Id: shania,v 1.7 2001-11-14 05:06:14 rmurray 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
@@ -183,8 +183,9 @@ def main ():
                  ('i',"incoming","Shania::Options::Incoming", "HasArg"),
                  ('n',"no-action","Shania::Options::No-Action"),
                  ('v',"verbose","Shania::Options::Verbose")];
-    for i in ["help", "days", "incoming", "no-action", "verbose" ]:
+    for i in ["Help", "Incoming", "No-Action", "Verbose" ]:
         Cnf["Shania::Options::%s" % (i)] = "";
+    Cnf["Shania::Options::Days"] = 14;
 
     apt_pkg.ParseCommandLine(Cnf,Arguments,sys.argv);
     Options = Cnf.SubTree("Shania::Options")