[yum-git] yum/__init__.py

James Antill james at linux.duke.edu
Wed Jan 23 06:17:08 UTC 2008


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

New commits:
commit 25fcce1e4b35372e2c79ce52984e160ac68e29f1
Author: James Antill <james at and.org>
Date:   Wed Jan 23 01:17:04 2008 -0500

    Fix variable name, improvement not as good ... but still ok

diff --git a/yum/__init__.py b/yum/__init__.py
index b39ad39..403a3a4 100644
--- a/yum/__init__.py
+++ b/yum/__init__.py
@@ -1372,7 +1372,7 @@ class YumBase(depsolve.Depsolve):
         real_crit_lower = [] # Take the s.lower()'s out of the loop
         for s in criteria:
             if s.find('%') == -1:
-                real_crit.append(s.lower())
+                real_crit_lower.append(s.lower())
 
         for sack in self.pkgSack.sacks.values():
             tmpres.extend(sack.searchPrimaryFieldsMultipleStrings(sql_fields, real_crit))



More information about the Yum-cvs-commits mailing list