commit:     a914433a17122776e79456d33c72ecfaee199715
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 28 23:51:03 2018 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sat Apr 28 23:51:03 2018 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=a914433a

FifoIpcDaemon: fix deprecated _wait usage (bug 653856)

Use _async_wait() instead of wait().

Bug: https://bugs.gentoo.org/653856

 pym/_emerge/FifoIpcDaemon.py | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/pym/_emerge/FifoIpcDaemon.py b/pym/_emerge/FifoIpcDaemon.py
index 7468de5e2..6efdc11b4 100644
--- a/pym/_emerge/FifoIpcDaemon.py
+++ b/pym/_emerge/FifoIpcDaemon.py
@@ -79,9 +79,12 @@ class FifoIpcDaemon(AbstractPollTask):
                        self.returncode = 1
                self._unregister()
                # notify exit listeners
-               self.wait()
+               self._async_wait()
 
        def _wait(self):
+               """
+               Deprecated. Use _async_wait() instead.
+               """
                if self.returncode is not None:
                        return self.returncode
                self._wait_loop()

Reply via email to