From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2E2A41382C5 for ; Sat, 28 Apr 2018 23:52:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6A81CE081B; Sat, 28 Apr 2018 23:52:50 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 48A6CE081B for ; Sat, 28 Apr 2018 23:52:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D250335C9B for ; Sat, 28 Apr 2018 23:52:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D41ED272 for ; Sat, 28 Apr 2018 23:52:46 +0000 (UTC) From: "Zac Medico" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Zac Medico" Message-ID: <1524959463.a914433a17122776e79456d33c72ecfaee199715.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/FifoIpcDaemon.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: a914433a17122776e79456d33c72ecfaee199715 X-VCS-Branch: master Date: Sat, 28 Apr 2018 23:52:46 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 5401bbae-0ee8-4a05-a938-8c5940bf0007 X-Archives-Hash: 8c29ec8b327222255d8c00599be1dadd commit: a914433a17122776e79456d33c72ecfaee199715 Author: Zac Medico gentoo org> AuthorDate: Sat Apr 28 23:51:03 2018 +0000 Commit: Zac Medico gentoo 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()