From: Zac Medico Date: Mon, 2 Mar 2009 22:37:58 +0000 (-0000) Subject: Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible(). X-Git-Tag: v2.2_rc24~75 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3b9d1a472ee364ebb5be3bf4383a37aef257a552;p=portage.git Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible(). svn path=/main/trunk/; revision=12740 --- 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