From: Ryan Murray Date: Wed, 14 Nov 2001 05:06:14 +0000 (+0000) Subject: Days is a numeric parameter, not string. I've set it to default to 14 fornow... X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=bb2bb29985ed5bcb92505926e7e7a6ac3b976f8b;p=dak.git Days is a numeric parameter, not string. I've set it to default to 14 fornow... --- diff --git a/shania b/shania index 83b748ae..2f86488f 100755 --- a/shania +++ b/shania @@ -2,7 +2,7 @@ # Clean incoming of old unused files # Copyright (C) 2000, 2001 James Troup -# $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")