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 10B581382C5 for ; Mon, 23 Apr 2018 18:58:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 56EF8E0ADD; Mon, 23 Apr 2018 18:58:11 +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 2DECDE0ADD for ; Mon, 23 Apr 2018 18:58:10 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 14BE5335C07 for ; Mon, 23 Apr 2018 18:58:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 80AF527C for ; Mon, 23 Apr 2018 18:58:08 +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: <1524509822.07233a526d1cc0937436fe0ad4de0a46553f5ff0.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/_emerge/ X-VCS-Repository: proj/portage X-VCS-Files: pym/_emerge/EbuildFetcher.py X-VCS-Directories: pym/_emerge/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 07233a526d1cc0937436fe0ad4de0a46553f5ff0 X-VCS-Branch: master Date: Mon, 23 Apr 2018 18:58:08 +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: 275ce26a-bcff-43f7-891b-f20f4d6078e4 X-Archives-Hash: fea2b44e69c20f9de72bb20bfb7029d7 commit: 07233a526d1cc0937436fe0ad4de0a46553f5ff0 Author: Zac Medico gentoo org> AuthorDate: Mon Apr 23 18:57:02 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Mon Apr 23 18:57:02 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=07233a52 EbuildFetcher: fix broken aux_get_future reference in cancel callback Fixes: 0a5692bd4f4a ("EbuildFetcher: add async_already_fetched method (bug 653810)") pym/_emerge/EbuildFetcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/_emerge/EbuildFetcher.py b/pym/_emerge/EbuildFetcher.py index 589eda85d..f59b5cffa 100644 --- a/pym/_emerge/EbuildFetcher.py +++ b/pym/_emerge/EbuildFetcher.py @@ -86,7 +86,7 @@ class _EbuildFetcherProcess(ForkProcess): uri_map_future = self._async_uri_map() result.add_done_callback(lambda result: - aux_get_future.cancel() if result.cancelled() else None) + uri_map_future.cancel() if result.cancelled() else None) uri_map_future.add_done_callback(uri_map_done) return result