From 6eff7ea1d28da8af9a30a5b8c1dcd05ed9b7638d Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 3 Jan 2013 23:14:07 -0800 Subject: [PATCH] ebuild-ipc: fix waiting message It got disabled by commit 439151bb5b0bd2ac4c9d2dd218fe377ce0b988e6. --- bin/ebuild-ipc.py | 4 ++-- 1 file 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: -- 2.26.2