[yum-git] yum/sqlitesack.py

Seth Vidal skvidal at linux.duke.edu
Wed Feb 13 13:20:20 UTC 2008


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

New commits:
commit 6a72fa2e46ee90215f8d9da0a27178daab4d4469
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Wed Feb 13 08:17:07 2008 -0500

    apply pach from Fajar Nugraha. for rh bug: 431144

diff --git a/yum/sqlitesack.py b/yum/sqlitesack.py
index 3c22e30..2f12921 100644
--- a/yum/sqlitesack.py
+++ b/yum/sqlitesack.py
@@ -404,7 +404,7 @@ class YumSqlitePackageSack(yumRepo.YumPackageSack):
                 dirname_check = ""
             else:
                 dirname = os.path.dirname(name)
-                dirname_check = "dirname = '%s' and " % dirname
+                dirname_check = "dirname = \"%s\" and " % dirname
 
             # grab the entries that are a single file in the 
             # filenames section, use sqlites globbing if it is a glob



More information about the Yum-cvs-commits mailing list