1 |
commit: a914433a17122776e79456d33c72ecfaee199715 |
2 |
Author: Zac Medico <zmedico <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 28 23:51:03 2018 +0000 |
4 |
Commit: Zac Medico <zmedico <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 28 23:51:03 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=a914433a |
7 |
|
8 |
FifoIpcDaemon: fix deprecated _wait usage (bug 653856) |
9 |
|
10 |
Use _async_wait() instead of wait(). |
11 |
|
12 |
Bug: https://bugs.gentoo.org/653856 |
13 |
|
14 |
pym/_emerge/FifoIpcDaemon.py | 5 ++++- |
15 |
1 file changed, 4 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/pym/_emerge/FifoIpcDaemon.py b/pym/_emerge/FifoIpcDaemon.py |
18 |
index 7468de5e2..6efdc11b4 100644 |
19 |
--- a/pym/_emerge/FifoIpcDaemon.py |
20 |
+++ b/pym/_emerge/FifoIpcDaemon.py |
21 |
@@ -79,9 +79,12 @@ class FifoIpcDaemon(AbstractPollTask): |
22 |
self.returncode = 1 |
23 |
self._unregister() |
24 |
# notify exit listeners |
25 |
- self.wait() |
26 |
+ self._async_wait() |
27 |
|
28 |
def _wait(self): |
29 |
+ """ |
30 |
+ Deprecated. Use _async_wait() instead. |
31 |
+ """ |
32 |
if self.returncode is not None: |
33 |
return self.returncode |
34 |
self._wait_loop() |