summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason Stubbs <jstubbs@gentoo.org>2005-12-13 15:51:30 +0000
committerJason Stubbs <jstubbs@gentoo.org>2005-12-13 15:51:30 +0000
commit45fc459ab63251aac14162cbb9b783aafd711532 (patch)
treef125d76fb1f70f5cdc66f5feac74117da18ec312
parentd8bc034e8137610946d174aad6b8ddd53662a884 (diff)
downloadportage-45fc459ab63251aac14162cbb9b783aafd711532.tar.gz
portage-45fc459ab63251aac14162cbb9b783aafd711532.tar.bz2
portage-45fc459ab63251aac14162cbb9b783aafd711532.zip
Prevent USE_EXPAND variables from bypassing use.mask
svn path=/main/trunk/; revision=2364
-rw-r--r--pym/portage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/portage.py b/pym/portage.py
index d34c45bcf..d0734b458 100644
--- a/pym/portage.py
+++ b/pym/portage.py
@@ -1453,7 +1453,7 @@ class config:
if self.has_key(var):
for x in string.split(self[var]):
mystr = string.lower(var)+"_"+x
- if mystr not in usesplit:
+ if mystr not in usesplit and mystr not in self.usemask:
usesplit.append(mystr)
# Pre-Pend ARCH variable to USE settings so '-*' in env doesn't kill arch.