Prevent USE_EXPAND variables from bypassing use.mask
authorJason Stubbs <jstubbs@gentoo.org>
Tue, 13 Dec 2005 15:51:30 +0000 (15:51 -0000)
committerJason Stubbs <jstubbs@gentoo.org>
Tue, 13 Dec 2005 15:51:30 +0000 (15:51 -0000)
svn path=/main/trunk/; revision=2364

pym/portage.py

index d34c45bcfbbba2f69099058129cad910f0f1123b..d0734b458a18344203d1f727ebe0a904a0ae75c7 100644 (file)
@@ -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.