From: Zac Medico Date: Sat, 20 Jun 2009 23:42:31 +0000 (-0000) Subject: In doebuild_environment, ensure that cached $KV from the backupenv does not X-Git-Tag: v2.2_rc34~180 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=518f9eb3a9753ac128caf5b2ea093abe2c614242;p=portage.git In doebuild_environment, ensure that cached $KV from the backupenv does not leak into the environment for EAPI >= 3. svn path=/main/trunk/; revision=13658 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 1e2c9ceeb..f73d0cbb6 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -5428,6 +5428,8 @@ def doebuild_environment(myebuild, mydo, myroot, mysettings, debug, use_cache, m else: mysettings["KV"]="" mysettings.backup_changes("KV") + elif eapi not in ("0", "1", "2"): + mysettings.pop("KV", None) # Allow color.map to control colors associated with einfo, ewarn, etc... mycolors = []