[Yum-devel] [PATCH 2/2] Touch repoXML later, to handle RepoError properly. Related: rhbz#769864

Zdeněk Pavlas zpavlas at redhat.com
Tue Apr 17 11:45:09 UTC 2012


The removed loop does not handle skip-if-unavailable option,
while repos.populateSack() does.

Forward port from RHEL6.3
---
 yumcommands.py |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/yumcommands.py b/yumcommands.py
index 9c181ec..477d16a 100644
--- a/yumcommands.py
+++ b/yumcommands.py
@@ -1098,8 +1098,6 @@ class MakeCacheCommand(YumCommand):
                 repo.mdpolicy = "group:all"
             base.doRepoSetup(dosack=0)
             base.repos.doSetup()
-            for repo in base.repos.listEnabled():
-                repo.repoXML
             
             # These convert the downloaded data into usable data,
             # we can't remove them until *LoadRepo() can do:
-- 
1.7.4.4



More information about the Yum-devel mailing list