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 7B5D31382C5 for ; Tue, 24 Apr 2018 06:56:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 94FD3E0924; Tue, 24 Apr 2018 06:56:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 689D0E0924 for ; Tue, 24 Apr 2018 06:56:07 +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 275BB335C5C for ; Tue, 24 Apr 2018 06:56:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 70B8D27C for ; Tue, 24 Apr 2018 06:56:04 +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: <1524552920.698bbcc494e06719cdbb0522aff6a5fb0d249b36.zmedico@gentoo> Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/dbapi/ X-VCS-Repository: proj/portage X-VCS-Files: pym/portage/dbapi/porttree.py X-VCS-Directories: pym/portage/dbapi/ X-VCS-Committer: zmedico X-VCS-Committer-Name: Zac Medico X-VCS-Revision: 698bbcc494e06719cdbb0522aff6a5fb0d249b36 X-VCS-Branch: master Date: Tue, 24 Apr 2018 06:56:04 +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: 55afb4b0-eaa4-4352-9dd0-893d19477b19 X-Archives-Hash: b9dfd4e304f1510cd799fe84e989def3 commit: 698bbcc494e06719cdbb0522aff6a5fb0d249b36 Author: Zac Medico gentoo org> AuthorDate: Tue Apr 24 06:31:32 2018 +0000 Commit: Zac Medico gentoo org> CommitDate: Tue Apr 24 06:55:20 2018 +0000 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=698bbcc4 portdbapi.async_fetch_map: fix future.exception() reference Fixes: 8002d9343c38 ("portdbapi: add async_fetch_map method (bug 653810)") pym/portage/dbapi/porttree.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py index 8a5fc690c..975f03d5e 100644 --- a/pym/portage/dbapi/porttree.py +++ b/pym/portage/dbapi/porttree.py @@ -759,7 +759,7 @@ class portdbapi(dbapi): if result.cancelled(): return if aux_get_future.exception() is not None: - if isinstance(future.exception(), PortageKeyError): + if isinstance(aux_get_future.exception(), PortageKeyError): # Convert this to an InvalidDependString exception since # callers already handle it. result.set_exception(portage.exception.InvalidDependString(