From 31cca99d48004d74ccac68de478eadef0a3ce83e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 18 Aug 2010 15:42:58 -0700 Subject: [PATCH] Remove unnecessary call to _prepare_env_file(), since it only makes sense for binary or installed packages. --- pym/_emerge/EbuildExecuter.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/pym/_emerge/EbuildExecuter.py b/pym/_emerge/EbuildExecuter.py index 513e67019..419ee6b1a 100644 --- a/pym/_emerge/EbuildExecuter.py +++ b/pym/_emerge/EbuildExecuter.py @@ -8,8 +8,7 @@ import portage from portage import os from portage.eapi import eapi_has_src_prepare_and_src_configure, \ eapi_exports_replace_vars -from portage.package.ebuild.doebuild import _prepare_env_file, \ - _prepare_fake_distdir +from portage.package.ebuild.doebuild import _prepare_fake_distdir class EbuildExecuter(CompositeTask): @@ -33,12 +32,6 @@ class EbuildExecuter(CompositeTask): settings = self.settings cleanup = 0 portage.prepare_build_dirs(pkg.root, settings, cleanup) - rval = _prepare_env_file(settings) - if rval != os.EX_OK: - self.returncode = rval - self._current_task = None - self.wait() - return portdb = pkg.root_config.trees['porttree'].dbapi ebuild_path = settings['EBUILD'] -- 2.26.2