Fix yum module failing to initalize yum plugins

This commit is contained in:
Daniel Kimsey 2015-12-09 11:59:16 -06:00
parent 0b5555b62c
commit a54d1fe09c

View file

@ -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: