From fc1e81cf87861694e19b96afa8dd849dd967343c Mon Sep 17 00:00:00 2001 From: Ryan Murray Date: Mon, 19 Nov 2001 20:42:40 +0000 Subject: [PATCH] remove direct call to reading the config file --- claire.py | 3 +-- shania | 4 +--- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/claire.py b/claire.py index 9982d216..d0d82d06 100755 --- 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 -# $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 cab1c1f7..069df37d 100755 --- a/shania +++ b/shania @@ -2,7 +2,7 @@ # Clean incoming of old unused files # Copyright (C) 2000, 2001 James Troup -# $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"), -- 2.39.5