MergeProcess: Fix PORTAGE_BACKGROUND/LOG_FILE use
authorZac Medico <zmedico@gentoo.org>
Fri, 25 Mar 2011 04:32:38 +0000 (21:32 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 25 Mar 2011 04:32:38 +0000 (21:32 -0700)
commit3081e651fc3cd3a0729bb1fbe2e93fbc58dcef0d
tree84c0c38f442d42c4352602070e16a07716a73772
parentf823031ed33bda9579d265b62607380bb255dfdd
MergeProcess: Fix PORTAGE_BACKGROUND/LOG_FILE use

In this subprocess we don't want PORTAGE_BACKGROUND to suppress
stdout/stderr output since they are pipes. We also don't want to open
PORTAGE_LOG_FILE, since it will already be opened by the parent
process, so we set the PORTAGE_BACKGROUND="subprocess" value for use
in conditional logging code involving PORTAGE_LOG_FILE.
pym/_emerge/AbstractEbuildProcess.py
pym/_emerge/EbuildPhase.py
pym/_emerge/MiscFunctionsProcess.py
pym/portage/dbapi/_MergeProcess.py