This solves a traceback when unmatched is None, in MetaSack.matchPackageNames(), this was written by Jeremy but it isn't on the trunk and I've merged it for RH so I thought I'd post it.
I've attached it and it can be merged from: git pull http://people.redhat.com/jantill/gits/yum list-none Or all my current patches can be merged from: git pull http://people.redhat.com/jantill/gits/yum james -- James Antill <[EMAIL PROTECTED]>
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):
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Yum-devel mailing list [email protected] https://lists.dulug.duke.edu/mailman/listinfo/yum-devel
