[yum-git] yum/sqlitesack.py
Seth Vidal
skvidal at linux.duke.edu
Wed May 14 13:18:21 UTC 2008
yum/sqlitesack.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
New commits:
commit 1611db09116490c506e2895db7997c9a2e689f21
Author: Seth Vidal <skvidal at fedoraproject.org>
Date: Wed May 14 09:10:54 2008 -0400
make sure we're not searching files when it is a globbed
requires, obsoletes or conflict.
diff --git a/yum/sqlitesack.py b/yum/sqlitesack.py
index f230e34..9bc9db3 100644
--- a/yum/sqlitesack.py
+++ b/yum/sqlitesack.py
@@ -755,9 +755,10 @@ class YumSqlitePackageSack(yumRepo.YumPackageSack):
self._sql_pkgKey2po(rep, cur, results)
# If it's not a provides or a filename, we are done
- if prcotype != "provides" or name[0] != '/':
- if not glob:
- return results
+ if prcotype != "provides":
+ return results
+ if not glob or name[0] != '/':
+ return results
# If it is a filename, search the primary.xml file info
for (rep,cache) in self.primarydb.items():
More information about the Yum-cvs-commits
mailing list