public inbox for gentoo-portage-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Zac Medico <zmedico@gentoo.org>
To: gentoo-portage-dev@lists.gentoo.org
Cc: Zac Medico <zmedico@gentoo.org>
Subject: [gentoo-portage-dev] [PATCH] _compute_abi_rebuild_info: fix bug #532594
Date: Sun, 14 Dec 2014 14:51:15 -0800	[thread overview]
Message-ID: <1418597475-21044-1-git-send-email-zmedico@gentoo.org> (raw)

Since commit 3f0799054b4e5ef88feb59d20d262668ca79df33, there has been
a faulty variable assignment inside _compute_abi_rebuild_info which
assigns a bool value to the inst_pkg variable which is intended to
refer to a Package instance. Fix it to assign a correct value.

Fixes: 3f0799054b4e ("_compute_abi_rebuild_info: fix bug #521990")
X-Gentoo-Bug: 532594
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=532594
---
 pym/_emerge/depgraph.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index 4a42ed5..fcc1a90 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -713,7 +713,7 @@ class depgraph(object):
 						if child is None:
 							continue
 
-						inst_child = dep.child.installed
+						inst_child = dep.child
 
 					else:
 						child = dep.child
-- 
2.0.4



             reply	other threads:[~2014-12-14 22:51 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-14 22:51 Zac Medico [this message]
2014-12-15  1:36 ` [gentoo-portage-dev] [PATCH] _compute_abi_rebuild_info: fix bug #532594 Alexander Berntsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1418597475-21044-1-git-send-email-zmedico@gentoo.org \
    --to=zmedico@gentoo.org \
    --cc=gentoo-portage-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox