[yum-cvs] 2 commits - yum/packageSack.py

Seth Vidal skvidal at linux.duke.edu
Tue Jul 31 20:10:06 UTC 2007


 yum/packageSack.py |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

New commits:
commit e08c9df78edf99ed068dcfdf018c53ffa9f149c4
Merge: a97198c... a62d7db...
Author: Seth Vidal <skvidal at fedoraproject.org>
Date:   Tue Jul 31 16:09:55 2007 -0400

    Merge branch 'list-none' of http://people.redhat.com/jantill/gits/yum

commit a62d7db8dcaff08753f83cf83956df734372bae1
Author: James Antill <james at code.and.org>
Date:   Mon Jul 30 16:20:43 2007 -0400

    fix for list(None) call

diff --git a/yum/packageSack.py b/yum/packageSack.py
index fce183f..0d0f2b3 100644
--- a/yum/packageSack.py
+++ b/yum/packageSack.py
@@ -357,7 +357,10 @@ class MetaSack(PackageSackBase):
 
         matched = misc.unique(matched)
         exactmatch = misc.unique(exactmatch)
-        unmatched = list(unmatched)
+        if unmatched is None:
+            unmatched = []
+        else:
+            unmatched = list(unmatched)
         return exactmatch, matched, unmatched
 
     def _computeAggregateListResult(self, methodName, *args):



More information about the Yum-cvs-commits mailing list