X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=andrea;h=5c32e3ae90abadc2ee6f7305d3955f4e4ac3a5c6;hb=e12d3c61f4b517e6cdb869e6001cf748a396365d;hp=b678d9de3e08301722cb19d09bc70d7d30a988c5;hpb=a092f0aa8e82394e25a16da9e87263ee26b8de0e;p=dak.git diff --git a/andrea b/andrea index b678d9de..5c32e3ae 100755 --- a/andrea +++ b/andrea @@ -1,8 +1,8 @@ #!/usr/bin/env python # Check for fixable discrepancies between stable and unstable -# Copyright (C) 2000, 2001 James Troup -# $Id: andrea,v 1.4 2001-09-27 01:23:41 troup Exp $ +# Copyright (C) 2000, 2001, 2002 James Troup +# $Id: andrea,v 1.6 2002-05-03 16:06:45 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 @@ -35,10 +35,7 @@ projectB = None; def main (): global Cnf, projectB; - apt_pkg.init(); - - Cnf = apt_pkg.newConfiguration(); - apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file()); + Cnf = utils.get_conf() apt_pkg.ParseCommandLine(Cnf,[],sys.argv);