From: Zac Medico Date: Sun, 13 Dec 2009 03:53:58 +0000 (-0000) Subject: Unset prefix vars for depend phase when EAPI is unknown. (trunk r15049) X-Git-Tag: v2.1.7.14~9 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=02a8a626fae83bae6456d032465cfe2618571336;p=portage.git Unset prefix vars for depend phase when EAPI is unknown. (trunk r15049) svn path=/main/branches/2.1.7/; revision=15083 --- diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index b70c5fe26..04bbfdc87 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -3777,7 +3777,8 @@ class config(object): mydict.pop("AA", None) # Prefix variables are supported starting with EAPI 3. - if eapi in ("0", "1", "2"): + # eapi is None for 'depend' phase + if eapi in (None, "0", "1", "2"): mydict.pop("ED", None) mydict.pop("EPREFIX", None) mydict.pop("EROOT", None)