diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-03-02 22:37:58 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-03-02 22:37:58 +0000 |
commit | 3b9d1a472ee364ebb5be3bf4383a37aef257a552 (patch) | |
tree | 9dc214cd37e316eb744b803d0abc4756e9877818 | |
parent | 9c1a530af1edfd787ff8ade710f688d7a9d89167 (diff) | |
download | portage-3b9d1a472ee364ebb5be3bf4383a37aef257a552.tar.gz portage-3b9d1a472ee364ebb5be3bf4383a37aef257a552.tar.bz2 portage-3b9d1a472ee364ebb5be3bf4383a37aef257a552.zip |
Use PORTAGE_USE when evaluating LICENSE inside portdbapi.gvisible().
svn path=/main/trunk/; revision=12740
-rw-r--r-- | pym/portage/dbapi/porttree.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |