From: Zac Medico Date: Wed, 11 Mar 2009 06:33:40 +0000 (-0000) Subject: Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible(). X-Git-Tag: v2.1.6.8~88 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ab74771b93fa6e47c39e4dcea57a06b47aea0f83;p=portage.git Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible(). (trunk r12740) svn path=/main/branches/2.1.6/; revision=12989 --- diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index bf05531c0..dd2257afe 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -879,7 +879,7 @@ class portdbapi(dbapi): metadata["USE"] = "" if "?" in metadata["LICENSE"]: self.doebuild_settings.setcpv(mycpv, mydb=metadata) - metadata["USE"] = self.doebuild_settings.get("USE", "") + metadata['USE'] = self.doebuild_settings['PORTAGE_USE'] try: if self.mysettings._getMissingLicenses(mycpv, metadata): continue