From: James Troup Date: Sat, 24 Nov 2001 18:42:10 +0000 (+0000) Subject: default options X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=2a81cd17935def39fc82875aca2b0e61c8ff9eb5;p=dak.git default options --- diff --git a/rhona b/rhona index f371a0a6..7c5dbb29 100755 --- a/rhona +++ b/rhona @@ -2,7 +2,7 @@ # rhona, cleans up unassociated binary and source packages # Copyright (C) 2000, 2001 James Troup -# $Id: rhona,v 1.18 2001-11-18 19:57:58 rmurray Exp $ +# $Id: rhona,v 1.19 2001-11-24 18:42:10 troup 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 @@ -264,6 +264,9 @@ def main(): global Cnf, Options, projectB, delete_date, now_date; Cnf = utils.get_conf() + for i in ["Help", "No-Action" ]: + if not Cnf.has_key("Rhona::Options::%s" % (i)): + Cnf["Rhona::Options::%s" % (i)] = ""; projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));