[yum-commits] Branch 'yum-3_2_X' - yum/sqlitesack.py

Ville Skyttä scop at osuosl.org
Sat Oct 17 13:48:19 UTC 2009


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

New commits:
commit 3dc3d0a339ca0e2e65acd1d729453b7e521a686e
Author: Ville Skyttä <ville.skytta at iki.fi>
Date:   Sat Oct 17 16:48:12 2009 +0300

    Comment spelling fix, remove another stale one.

diff --git a/yum/sqlitesack.py b/yum/sqlitesack.py
index 5d96a96..332f3bb 100644
--- a/yum/sqlitesack.py
+++ b/yum/sqlitesack.py
@@ -1005,7 +1005,7 @@ class YumSqlitePackageSack(yumRepo.YumPackageSack):
             return result
         
         # NOTE: I can't see any reason not to use this all the time, speed
-        # comparison shows them as baiscally equal.
+        # comparison shows them as basically equal.
         if len(searchstrings) > (constants.PATTERNS_MAX / len(fields)):
             tot = {}
             for searchstring in searchstrings:
@@ -1100,7 +1100,6 @@ class YumSqlitePackageSack(yumRepo.YumPackageSack):
         for (rep,cache) in self.primarydb.items():
             cur = cache.cursor()
             executeSQL(cur, "select * from packages where pkgId in %s" %(pkgid_query,))
-            #executeSQL(cur, "select * from packages where pkgId in %s" %(pkgid_query,))            
             for ob in cur:
                 pkgs.append(ob)
         


More information about the Yum-commits mailing list