summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/Client/Tools/YUMng.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py
index 61233b0df..3d6394320 100644
--- a/src/lib/Client/Tools/YUMng.py
+++ b/src/lib/Client/Tools/YUMng.py
@@ -55,6 +55,7 @@ class YUMng(Bcfg2.Client.Tools.RPMng.RPMng):
self.yum_avail = dict()
self.yum_installed = dict()
self.yb = yum.YumBase()
+ self.yb.doGenericSetup()
yup = self.yb.doPackageLists(pkgnarrow='updates')
for dest, source in [(self.yum_avail, yup.updates),
(self.yum_installed, self.yb.rpmdb)]: