[Yum-devel] [PATCH 2/2] Fix rpmdb.getProvides(), found by the new provides check!

James Antill james at and.org
Thu Apr 15 05:35:04 UTC 2010


---
 yum/rpmsack.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/yum/rpmsack.py b/yum/rpmsack.py
index e18df3f..eba1409 100644
--- a/yum/rpmsack.py
+++ b/yum/rpmsack.py
@@ -322,8 +322,8 @@ class RPMDBPackageSack(PackageSackBase):
             if not glob:
                 if po.checkPrco(prcotype, (n, f, (e,v,r))):
                     result[po.pkgid] = po
-                else:
-                    result[po.pkgid] = po
+            else:
+                result[po.pkgid] = po
         del mi
 
 
-- 
1.6.6.1



More information about the Yum-devel mailing list