summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-10-07 09:03:45 +0000
committerZac Medico <zmedico@gentoo.org>2008-10-07 09:03:45 +0000
commitbf9c3fc958b17095d28cff772956cb1691f36713 (patch)
tree6f0ea5f6ea93c3d7e5f1585a40c155b735283cdc
parent091acc88e4a13c933009de517fe781a90829338e (diff)
downloadportage-bf9c3fc958b17095d28cff772956cb1691f36713.tar.gz
portage-bf9c3fc958b17095d28cff772956cb1691f36713.tar.bz2
portage-bf9c3fc958b17095d28cff772956cb1691f36713.zip
When EbuildBuild encounters a failed fetch, propagee the log path so that
it can be properly displayed in the status display. svn path=/main/trunk/; revision=11649
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 47ad0c68e..0f1074daa 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -2471,6 +2471,8 @@ class EbuildBuild(CompositeTask):
return
if self._default_exit(fetcher) != os.EX_OK:
+ if fetcher.logfile is not None:
+ self.settings["PORTAGE_LOG_FILE"] = fetcher.logfile
self.wait()
return