]> git.decadent.org.uk Git - dak.git/blobdiff - rene
read all configs when utils is imported, allowing utils to make use ofconfig values...
[dak.git] / rene
diff --git a/rene b/rene
index b7a3eec1ade32f8252692da20e8e46ba16a18966..25039b5d10c0da66a3036edd0ee7a178e55b5cc7 100755 (executable)
--- a/rene
+++ b/rene
@@ -2,7 +2,7 @@
 
 # Check for obsolete binary packages
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: rene,v 1.8 2001-11-04 22:28:44 troup Exp $
+# $Id: rene,v 1.9 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
@@ -38,10 +38,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()
 
     Arguments = [('D',"debug","Catherine::Options::Debug", "IntVal"),
                  ('h',"help","Catherine::Options::Help"),