From 8a52e95fd3be42b3fa72263294437d2900014152 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 4 Mar 2010 06:57:52 +0000 Subject: [PATCH] Bug #307707 - Fix fetch() to use the correct spawn function when calling nofetch. svn path=/main/trunk/; revision=15743 --- pym/portage/package/ebuild/fetch.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/portage/package/ebuild/fetch.py b/pym/portage/package/ebuild/fetch.py index b89856e6e..353a4e678 100644 --- a/pym/portage/package/ebuild/fetch.py +++ b/pym/portage/package/ebuild/fetch.py @@ -20,6 +20,7 @@ import tempfile import portage portage.proxy.lazyimport.lazyimport(globals(), 'portage.package.ebuild.config:check_config_instance,config', + 'portage.package.ebuild.doebuild:spawn@doebuild_spawn', ) from portage import doebuild_environment, OrderedDict, os, prepare_build_dirs, selinux, _encodings, _shell_quote, _unicode_encode @@ -1096,7 +1097,7 @@ def fetch(myuris, mysettings, listonly=0, fetchonly=0, locks_in_subdir=".locks", ebuild_phase = mysettings.get("EBUILD_PHASE") try: mysettings["EBUILD_PHASE"] = "nofetch" - spawn(_shell_quote(EBUILD_SH_BINARY) + \ + doebuild_spawn(_shell_quote(EBUILD_SH_BINARY) + \ " nofetch", mysettings, fd_pipes=fd_pipes) finally: if ebuild_phase is None: -- 2.26.2