diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-07 06:32:16 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-07 06:32:16 +0000 |
commit | 722281a0befdf334df40df48f8b71f797ed3248d (patch) | |
tree | f27bdcb5529db401c789bb8b1e176871679df1e6 /pym/portage | |
parent | 6df54199312a1d6d628cd0a852f4b667d8ad833a (diff) | |
download | portage-722281a0befdf334df40df48f8b71f797ed3248d.tar.gz portage-722281a0befdf334df40df48f8b71f797ed3248d.tar.bz2 portage-722281a0befdf334df40df48f8b71f797ed3248d.zip |
Fix broken IUSE defaults handling when filtering USE for the Packages file.
svn path=/main/trunk/; revision=9739
Diffstat (limited to 'pym/portage')
-rw-r--r-- | pym/portage/dbapi/bintree.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |