[Yum-devel] [PATCH 2/2] whoops - catch the lookup in _search_primary_files() too - catch them separately b/c I don't want to chase down any potential callers
Seth Vidal
skvidal at fedoraproject.org
Tue Oct 26 14:24:59 UTC 2010
---
yum/sqlitesack.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/yum/sqlitesack.py b/yum/sqlitesack.py
index f515c03..ed681fb 100644
--- a/yum/sqlitesack.py
+++ b/yum/sqlitesack.py
@@ -845,6 +845,7 @@ class YumSqlitePackageSack(yumRepo.YumPackageSack):
@catchSqliteException
def _search_primary_files(self, name):
querytype = 'glob'
+ name = os.path.normpath(name)
if not misc.re_glob(name):
querytype = '='
results = []
--
1.7.2.1
More information about the Yum-devel
mailing list