projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df5419
)
Fix broken IUSE defaults handling when filtering USE for the Packages file.
author
Zac Medico
<zmedico@gentoo.org>
Mon, 7 Apr 2008 06:32:16 +0000
(06:32 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Mon, 7 Apr 2008 06:32:16 +0000
(06:32 -0000)
svn path=/main/trunk/; revision=9739
pym/portage/dbapi/bintree.py
patch
|
blob
|
history
diff --git
a/pym/portage/dbapi/bintree.py
b/pym/portage/dbapi/bintree.py
index f920c0fab9c3662b04fcee469fe5933429058cd2..f58e220af35a6d22899f18f98f9b63f213a84fce 100644
(file)
--- 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)