[yum-commits] plugins/auto-update-debuginfo

James Antill james at osuosl.org
Tue Jul 14 21:42:39 UTC 2009


 plugins/auto-update-debuginfo/auto-update-debuginfo.py |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 9379eb92a768b3d15d78d412f49e5a3fa611f979
Author: James Antill <james at and.org>
Date:   Tue Jul 14 17:42:29 2009 -0400

    Setup normal repos before we setup new debuginfo. ones, fixes trac/135

diff --git a/plugins/auto-update-debuginfo/auto-update-debuginfo.py b/plugins/auto-update-debuginfo/auto-update-debuginfo.py
index 1350673..a9327cb 100644
--- a/plugins/auto-update-debuginfo/auto-update-debuginfo.py
+++ b/plugins/auto-update-debuginfo/auto-update-debuginfo.py
@@ -25,6 +25,9 @@ requires_api_version = '2.1'
 plugin_type = (TYPE_CORE,)
 
 def enable_debuginfo_repos(yb):
+    # We need to make sure the normal repos. are setup, before we add some...
+    yb.pkgSack.returnPackages
+
     repos = set()
     for repo in yb.repos.listEnabled():
         repos.add(repo.id)


More information about the Yum-commits mailing list