From 518f9eb3a9753ac128caf5b2ea093abe2c614242 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 20 Jun 2009 23:42:31 +0000 Subject: 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 --- pym/portage/__init__.py | 2 ++ 1 file changed, 2 insertions(+) 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 = [] -- cgit v1.2.3-1-g7c22