Gentoo Archives: gentoo-portage-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-portage-dev@l.g.o
Cc: Zac Medico <zmedico@g.o>
Subject: [gentoo-portage-dev] [PATCH] _compute_abi_rebuild_info: fix bug #532594
Date: Sun, 14 Dec 2014 22:51:42
Message-Id: 1418597475-21044-1-git-send-email-zmedico@gentoo.org
1 Since commit 3f0799054b4e5ef88feb59d20d262668ca79df33, there has been
2 a faulty variable assignment inside _compute_abi_rebuild_info which
3 assigns a bool value to the inst_pkg variable which is intended to
4 refer to a Package instance. Fix it to assign a correct value.
5
6 Fixes: 3f0799054b4e ("_compute_abi_rebuild_info: fix bug #521990")
7 X-Gentoo-Bug: 532594
8 X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=532594
9 ---
10 pym/_emerge/depgraph.py | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13 diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
14 index 4a42ed5..fcc1a90 100644
15 --- a/pym/_emerge/depgraph.py
16 +++ b/pym/_emerge/depgraph.py
17 @@ -713,7 +713,7 @@ class depgraph(object):
18 if child is None:
19 continue
20
21 - inst_child = dep.child.installed
22 + inst_child = dep.child
23
24 else:
25 child = dep.child
26 --
27 2.0.4

Replies

Subject Author
Re: [gentoo-portage-dev] [PATCH] _compute_abi_rebuild_info: fix bug #532594 Alexander Berntsen <bernalex@g.o>