Gentoo Archives: gentoo-commits

From: Zac Medico <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/portage:master commit in: pym/portage/dbapi/
Date: Tue, 24 Apr 2018 06:56:08
Message-Id: 1524552920.698bbcc494e06719cdbb0522aff6a5fb0d249b36.zmedico@gentoo
1 commit: 698bbcc494e06719cdbb0522aff6a5fb0d249b36
2 Author: Zac Medico <zmedico <AT> gentoo <DOT> org>
3 AuthorDate: Tue Apr 24 06:31:32 2018 +0000
4 Commit: Zac Medico <zmedico <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 24 06:55:20 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/portage.git/commit/?id=698bbcc4
7
8 portdbapi.async_fetch_map: fix future.exception() reference
9
10 Fixes: 8002d9343c38 ("portdbapi: add async_fetch_map method (bug 653810)")
11
12 pym/portage/dbapi/porttree.py | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15 diff --git a/pym/portage/dbapi/porttree.py b/pym/portage/dbapi/porttree.py
16 index 8a5fc690c..975f03d5e 100644
17 --- a/pym/portage/dbapi/porttree.py
18 +++ b/pym/portage/dbapi/porttree.py
19 @@ -759,7 +759,7 @@ class portdbapi(dbapi):
20 if result.cancelled():
21 return
22 if aux_get_future.exception() is not None:
23 - if isinstance(future.exception(), PortageKeyError):
24 + if isinstance(aux_get_future.exception(), PortageKeyError):
25 # Convert this to an InvalidDependString exception since
26 # callers already handle it.
27 result.set_exception(portage.exception.InvalidDependString(