[yum-commits] Branch 'yum-3_2_X' - yum/yumRepo.py

James Antill james at osuosl.org
Mon Oct 20 18:07:21 UTC 2008


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

New commits:
commit fbbe7ce8b82c8edfc69f2c11bf33e6e8efd80a29
Author: James Antill <james at and.org>
Date:   Mon Oct 20 11:13:52 2008 -0400

    Use the metadata index name, and not the filename for the progress output

diff --git a/yum/yumRepo.py b/yum/yumRepo.py
index 5cf3444..795febf 100644
--- a/yum/yumRepo.py
+++ b/yum/yumRepo.py
@@ -1374,8 +1374,9 @@ class YumRepository(Repository, config.RepoConf):
 
         try:
             checkfunc = (self.checkMD, (mdtype,), {})
+            text = "%s/%s" % (self.id, mdtype)
             local = self._getFile(relative=remote, local=local, copy_local=1,
-                             checkfunc=checkfunc, reget=None,
+                             checkfunc=checkfunc, reget=None, text=text,
                              cache=self.http_caching == 'all')
         except (Errors.NoMoreMirrorsRepoError, Errors.RepoError):
             if retrieve_can_fail:


More information about the Yum-commits mailing list