summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-08-15 20:59:26 -0700
committerZac Medico <zmedico@gentoo.org>2010-08-15 20:59:26 -0700
commit93cded47a2732cadddca657ae04721f38e86bbf0 (patch)
treea9a83d15c149cc6689fae96a6d27e59d8c7db3e6 /pym/_emerge
parent39020a6a418c0910b372e04a8f4959ce258d1989 (diff)
downloadportage-93cded47a2732cadddca657ae04721f38e86bbf0.tar.gz
portage-93cded47a2732cadddca657ae04721f38e86bbf0.tar.bz2
portage-93cded47a2732cadddca657ae04721f38e86bbf0.zip
Enable EbuildIpcDaemon support by default.
Diffstat (limited to 'pym/_emerge')
-rw-r--r--pym/_emerge/AbstractEbuildProcess.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/pym/_emerge/AbstractEbuildProcess.py b/pym/_emerge/AbstractEbuildProcess.py
index e2be8b856..aca254191 100644
--- a/pym/_emerge/AbstractEbuildProcess.py
+++ b/pym/_emerge/AbstractEbuildProcess.py
@@ -25,6 +25,10 @@ class AbstractEbuildProcess(SpawnProcess):
('_ipc_daemon', '_exit_command',)
_phases_without_builddir = ('clean', 'cleanrm', 'depend', 'help',)
+ # The EbuildIpcDaemon support is well tested, but this variable
+ # is left so we can temporarily disable it if any issues arise.
+ _enable_ipc_daemon = True
+
def __init__(self, **kwargs):
SpawnProcess.__init__(self, **kwargs)
if self.phase is None:
@@ -40,10 +44,7 @@ class AbstractEbuildProcess(SpawnProcess):
# since we're not displaying to a terminal anyway.
self.settings['NOCOLOR'] = 'true'
- enable_ipc_daemon = \
- self.settings.get('PORTAGE_IPC_DAEMON_ENABLE') == '1'
-
- if enable_ipc_daemon:
+ if self._enable_ipc_daemon:
self.settings.pop('PORTAGE_EBUILD_EXIT_FILE', None)
if self.phase not in self._phases_without_builddir:
self.settings['PORTAGE_IPC_DAEMON'] = "1"