From 3b9d1a472ee364ebb5be3bf4383a37aef257a552 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 2 Mar 2009 22:37:58 +0000 Subject: Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible(). svn path=/main/trunk/; revision=12740 --- pym/portage/dbapi/porttree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pym') 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 -- cgit v1.2.3-1-g7c22