]> git.decadent.org.uk Git - dak.git/blobdiff - christina
remove direct call to reading the config file
[dak.git] / christina
index b6af669b77df86a36f5ee5f8d3140abfcbfb9c6d..15b3a64dc32ee683f877b8be72175eff308fe286 100644 (file)
--- a/christina
+++ b/christina
@@ -2,7 +2,7 @@
 
 # Compares Packages-Arch-Specific (from Quinn-Diff) against the archive
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: christina,v 1.3 2001-11-04 22:28:44 troup Exp $
+# $Id: christina,v 1.4 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
@@ -97,10 +97,7 @@ def get_source ():
 def main ():
     global Cnf, projectB;
 
-    apt_pkg.init();
-    
-    Cnf = apt_pkg.newConfiguration();
-    apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file());
+    Cnf = utils.get_conf()
 
     Arguments = [('d',"debug","Christina::Options::Debug", "IntVal"),
                  ('h',"help","Christina::Options::Help"),