]> git.decadent.org.uk Git - dak.git/commitdiff
remove direct call to reading the config file
authorRyan Murray <rmurray@debian.org>
Mon, 19 Nov 2001 20:42:40 +0000 (20:42 +0000)
committerRyan Murray <rmurray@debian.org>
Mon, 19 Nov 2001 20:42:40 +0000 (20:42 +0000)
claire.py
shania

index 9982d2166ff4e50c4d9de83035234898d9eec0e0..d0d82d06989d1e89c8d9e00b94e6769e0f253882 100755 (executable)
--- a/claire.py
+++ b/claire.py
@@ -2,7 +2,7 @@
 
 # 'Fix' stable to make debian-cd and dpkg -BORGiE users happy
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: claire.py,v 1.11 2001-11-18 19:57:58 rmurray Exp $
+# $Id: claire.py,v 1.12 2001-11-19 20:42:40 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
@@ -167,7 +167,6 @@ def main ():
     global Cnf, projectB;
 
     Cnf = utils.get_conf()
-    apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file());
 
     Arguments = [('h',"help","Claire::Options::Help"),
                  ('v',"verbose","Claire::Options::Verbose")];
diff --git a/shania b/shania
index cab1c1f79c9d41b67c76c1fb1c5d261b962cde3a..069df37d076829f35985650efe1d2e97d91b00f8 100755 (executable)
--- a/shania
+++ b/shania
@@ -2,7 +2,7 @@
 
 # Clean incoming of old unused files
 # Copyright (C) 2000, 2001  James Troup <james@nocrew.org>
-# $Id: shania,v 1.9 2001-11-18 19:57:58 rmurray Exp $
+# $Id: shania,v 1.10 2001-11-19 20:42:40 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
@@ -181,8 +181,6 @@ def main ():
     if not Cnf.has_key("Shania::Options::Days"):
        Cnf["Shania::Options::Days"] = "14";
 
-    apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file());
-
     Arguments = [('h',"help","Shania::Options::Help"),
                  ('d',"days","Shania::Options::Days", "IntVal"),
                  ('i',"incoming","Shania::Options::Incoming", "HasArg"),