[yum-commits] needs-restarting.py
skvidal at osuosl.org
skvidal at osuosl.org
Tue Feb 2 17:18:11 UTC 2010
needs-restarting.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit 1d3aaf9bbcc43f8a54f2c7d81ddbe863487fc329
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Tue Feb 2 12:17:55 2010 -0500
disable plugins on needs-restarting
for rh bug: #561023
diff --git a/needs-restarting.py b/needs-restarting.py
index a6feafe..2c41948 100755
--- a/needs-restarting.py
+++ b/needs-restarting.py
@@ -95,8 +95,9 @@ def get_open_files(pid):
def main(args):
(opts, args) = parseargs(args)
-
+
my = yum.YumBase()
+ my.preconf.init_plugins=False
if hasattr(my, 'setCacheDir'):
my.setCacheDir()
my.conf.cache = True
More information about the Yum-commits
mailing list