X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=rhona;fp=rhona;h=f371a0a61ccc81a7044fc87bf4e8ab65a65b6c64;hb=2f5e692bfbbb6f8146f50d944f7fcc169a95a0a3;hp=f8a21fc10221afc84aa0a49eec079a2f66f746df;hpb=87f1f5167cff0dbc3995f2a44366ac89fe30f679;p=dak.git diff --git a/rhona b/rhona index f8a21fc1..f371a0a6 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.17 2001-09-27 01:23:41 troup Exp $ +# $Id: rhona,v 1.18 2001-11-18 19:57:58 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 @@ -263,10 +263,7 @@ SELECT m.id FROM maintainer m def main(): global Cnf, Options, projectB, delete_date, now_date; - apt_pkg.init(); - - Cnf = apt_pkg.newConfiguration(); - apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file()); + Cnf = utils.get_conf() projectB = pg.connect(Cnf["DB::Name"], Cnf["DB::Host"], int(Cnf["DB::Port"]));