[yum-git] yum/sqlitesack.py

Seth Vidal skvidal at linux.duke.edu
Sat May 17 11:50:50 UTC 2008


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

New commits:
commit 7a99a04d7f121a547d9af82738cd64b2fa8b04ca
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Sat May 17 07:43:42 2008 -0400

    gotta check both, not either - otherwise filedeps don't work :(

diff --git a/yum/sqlitesack.py b/yum/sqlitesack.py
index c9fc26c..0b5d3e1 100644
--- a/yum/sqlitesack.py
+++ b/yum/sqlitesack.py
@@ -766,7 +766,7 @@ class YumSqlitePackageSack(yumRepo.YumPackageSack):
         # If it's not a provides or a filename, we are done
         if prcotype != "provides":
             return results
-        if not glob or name[0] != '/':
+        if not glob and name[0] != '/':
             return results
 
         # If it is a filename, search the primary.xml file info



More information about the Yum-cvs-commits mailing list