From a54d1fe09c3bc15a3bc03c53eb2082f8bad34a7e Mon Sep 17 00:00:00 2001 From: Daniel Kimsey Date: Wed, 9 Dec 2015 11:59:16 -0600 Subject: [PATCH] Fix yum module failing to initalize yum plugins --- packaging/os/yum.py | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/os/yum.py b/packaging/os/yum.py index bed962e0158..783794690f0 100644 --- a/packaging/os/yum.py +++ b/packaging/os/yum.py @@ -195,6 +195,7 @@ def yum_base(conf_file=None): my = yum.YumBase() my.preconf.debuglevel=0 my.preconf.errorlevel=0 + my.preconf.plugins = True if conf_file and os.path.exists(conf_file): my.preconf.fn = conf_file if os.geteuid() != 0: