[yum-commits] yum/yumRepo.py

zpavlas at osuosl.org zpavlas at osuosl.org
Tue Aug 28 07:00:21 UTC 2012


 yum/yumRepo.py |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 88fc201bcd811b72c737b95a446297073dc9b042
Author: Zdeněk Pavlas <zpavlas at redhat.com>
Date:   Mon Aug 27 16:08:57 2012 +0200

    Don't fetch group_gz twice
    
    all_mdtypes already contains 'group', and _get_mdtype_data() uses 'group_gz'
    if available, so just skip it here.

diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index e60fc20..ec68b6a 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -1418,7 +1418,7 @@ Insufficient space in download directory %s
         for mdtype in self.repoXML.fileTypes():
             if mdtype in all_mdtypes:
                 continue
-            if mdtype in ('primary_db', 'filelists_db', 'other_db'):
+            if mdtype in ('primary_db', 'filelists_db', 'other_db', 'group_gz'):
                 continue
             all_mdtypes.append(mdtype)
 


More information about the Yum-commits mailing list