X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=rhona;h=9aa3215f5ed8a3b1a0a3f96b0c2ac636211af0a1;hb=d4c23de3a229e9d82d5e89af61df6f9b542b2503;hp=f371a0a61ccc81a7044fc87bf4e8ab65a65b6c64;hpb=2f5e692bfbbb6f8146f50d944f7fcc169a95a0a3;p=dak.git diff --git a/rhona b/rhona index f371a0a6..9aa3215f 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.20 2002-02-12 22:14:38 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 @@ -29,7 +29,7 @@ ################################################################################ -import os, pg, stat, string, sys, time +import os, pg, stat, sys, time import apt_pkg import utils @@ -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"]));