X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=alyson;fp=alyson;h=007063f171d3540b81b62035a19d8ff36fef3ab4;hb=2f5e692bfbbb6f8146f50d944f7fcc169a95a0a3;hp=4344f7904f4022a19f2acae35452c7e7ceafdaba;hpb=87f1f5167cff0dbc3995f2a44366ac89fe30f679;p=dak.git diff --git a/alyson b/alyson index 4344f790..007063f1 100755 --- a/alyson +++ b/alyson @@ -2,7 +2,7 @@ # Sync the ISC configuartion file and the SQL database # Copyright (C) 2000, 2001 James Troup -# $Id: alyson,v 1.5 2001-09-27 14:42:02 troup Exp $ +# $Id: alyson,v 1.6 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 @@ -40,10 +40,8 @@ def get (c, i): def main (): global Cnf, projectB; - apt_pkg.init(); + Cnf = utils.get_conf() - Cnf = apt_pkg.newConfiguration(); - apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file()); Arguments = [('D',"debug","Alyson::Options::Debug", "IntVal"), ('h',"help","Alyson::Options::Help"), ('v',"version","Alyson::Options::Version")];