summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2013-01-03 23:14:07 -0800
committerZac Medico <zmedico@gentoo.org>2013-01-03 23:14:07 -0800
commit6eff7ea1d28da8af9a30a5b8c1dcd05ed9b7638d (patch)
treef6677a5ff13a5810b7dddf54ab48823648003dbd /bin
parent06d31ef00da24352a6614f20bccfc892d2120ed9 (diff)
downloadportage-6eff7ea1d28da8af9a30a5b8c1dcd05ed9b7638d.tar.gz
portage-6eff7ea1d28da8af9a30a5b8c1dcd05ed9b7638d.tar.bz2
portage-6eff7ea1d28da8af9a30a5b8c1dcd05ed9b7638d.zip
ebuild-ipc: fix waiting message
It got disabled by commit 439151bb5b0bd2ac4c9d2dd218fe377ce0b988e6.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ebuild-ipc.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/ebuild-ipc.py b/bin/ebuild-ipc.py
index ceab4d579..ca707fa98 100755
--- a/bin/ebuild-ipc.py
+++ b/bin/ebuild-ipc.py
@@ -46,7 +46,7 @@ class EbuildIpc(object):
# Timeout for each individual communication attempt (we retry
# as long as the daemon process appears to be alive).
- _COMMUNICATE_RETRY_TIMEOUT_SECONDS = 15
+ _COMMUNICATE_RETRY_TIMEOUT_MS = 15000
def __init__(self):
self.fifo_dir = os.environ['PORTAGE_BUILDDIR']
@@ -106,7 +106,7 @@ class EbuildIpc(object):
eof = pipe_reader.poll() is not None
while not eof:
- pipe_reader.scheduler.iteration()
+ pipe_reader._wait_loop(timeout=self._COMMUNICATE_RETRY_TIMEOUT_MS)
eof = pipe_reader.poll() is not None
if eof: