[yum/f17] Fix non-removal of corrupt metadata files. BZ 908870.

James Antill james at fedoraproject.org
Wed Feb 20 00:45:02 UTC 2013


commit 00ab504f30d9bc99363e6705bd4b16df927938b4
Author: James Antill <james at and.org>
Date:   Tue Feb 19 19:44:58 2013 -0500

    Fix non-removal of corrupt metadata files. BZ 908870.

 BZ-908870-MD-files-bad.patch |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/BZ-908870-MD-files-bad.patch b/BZ-908870-MD-files-bad.patch
index 9d0ec2b..c8d79a8 100644
--- a/BZ-908870-MD-files-bad.patch
+++ b/BZ-908870-MD-files-bad.patch
@@ -8,14 +8,6 @@ diff --git a/yum/yumRepo.py b/yum/yumRepo.py
 index dfcf8f9..efbc42a 100644
 --- a/yum/yumRepo.py
 +++ b/yum/yumRepo.py
-@@ -141,6 +141,7 @@ class YumPackageSack(packageSack.PackageSack):
- 
-             if self._check_db_version(repo, mydbtype):
-                 if not self._check_uncompressed_db_gen(repo, mydbtype):
-+                    # NOTE: No failfunc.
-                     repo._retrieveMD(mydbtype, async=True, failfunc=None)
- 
-     def populate(self, repo, mdtype='metadata', callback=None, cacheonly=0):
 @@ -940,6 +941,7 @@ Insufficient space in download directory %s
                                      range=(start, end),
                                      )


More information about the scm-commits mailing list