From 722281a0befdf334df40df48f8b71f797ed3248d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 7 Apr 2008 06:32:16 +0000 Subject: Fix broken IUSE defaults handling when filtering USE for the Packages file. svn path=/main/trunk/; revision=9739 --- pym/portage/dbapi/bintree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') diff --git a/pym/portage/dbapi/bintree.py b/pym/portage/dbapi/bintree.py index f920c0fab..f58e220af 100644 --- a/pym/portage/dbapi/bintree.py +++ b/pym/portage/dbapi/bintree.py @@ -837,7 +837,7 @@ class binarytree(object): del metadata["DESCRIPTION"] use = metadata["USE"].split() raw_use = use - iuse = set(metadata["IUSE"].split()) + iuse = set(f.lstrip("-+") for f in metadata["IUSE"].split()) use = [f for f in use if f in iuse] use.sort() metadata["USE"] = " ".join(use) -- cgit v1.2.3-1-g7c22