ebuild-ipc: fix waiting message
authorZac Medico <zmedico@gentoo.org>
Fri, 4 Jan 2013 07:14:07 +0000 (23:14 -0800)
committerZac Medico <zmedico@gentoo.org>
Fri, 4 Jan 2013 07:14:07 +0000 (23:14 -0800)
It got disabled by commit 439151bb5b0bd2ac4c9d2dd218fe377ce0b988e6.

bin/ebuild-ipc.py

index ceab4d5799efd869be0c432f9f4140c0ffa323e5..ca707fa98ff777b38fae55909b6c86b6a0404f77 100755 (executable)
@@ -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: