[yum-cvs] yum/rpmsack.py

Seth Vidal skvidal at linux.duke.edu
Wed Nov 14 21:55:33 UTC 2007


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

New commits:
commit 11a732f2ca51e951b470a3707152b14d5af1b497
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Nov 14 16:52:24 2007 -0500

    make sure we're passing the right kind of objects to newestInList()
    closes rh bug #381551

diff --git a/yum/rpmsack.py b/yum/rpmsack.py
index 8866d5e..7f8b1f1 100644
--- a/yum/rpmsack.py
+++ b/yum/rpmsack.py
@@ -179,7 +179,7 @@ class RPMDBPackageSack(PackageSackBase):
         if not name:
             return
 
-        allpkg = [ pkgtup
+        allpkg = [ self._makePackageObject(hdr, idx)
             for (hdr, pkgtup, idx) in self._search(name=name) ]
 
         if not allpkg:



More information about the Yum-cvs-commits mailing list