[yum-git] package-cleanup.py

Seth Vidal skvidal at linux.duke.edu
Mon Jul 21 21:08:23 UTC 2008


 package-cleanup.py |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit 90705760ee36bd2c855db34f68d40195a90f85ba
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Mon Jul 21 17:05:53 2008 -0400

    fix for bug number rh #456062. This is fine in more current yum's but it is an
    easy step-around for fc8.

diff --git a/package-cleanup.py b/package-cleanup.py
index 5e2b7b7..34d8665 100755
--- a/package-cleanup.py
+++ b/package-cleanup.py
@@ -208,6 +208,8 @@ def _shouldShowLeaf(my, pkg, leaf_regex, exclude_devel, exclude_bin):
 
     Return True if the pkg should be shown, False if not.
     """
+    if pkg[0] == 'gpg-pubkey':
+        return False
     pos = my.rpmdb.searchNevra(name=pkg[0], epoch=str(pkg[2]), ver=pkg[3],
             rel=pkg[4], arch=pkg[1])
     # This should give us an exact match



More information about the Yum-cvs-commits mailing list