summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-09-28 18:10:06 -0700
committerZac Medico <zmedico@gentoo.org>2011-09-28 18:10:58 -0700
commitabcf9f8b8fcc7daacafc8284a580436d94e1668f (patch)
treee6ec2a988cf055fb916eac189d85b16e81757acb
parent0b12491de238eb6fb66a42019d8c83c59f0ad684 (diff)
downloadportage-abcf9f8b8fcc7daacafc8284a580436d94e1668f.tar.gz
portage-abcf9f8b8fcc7daacafc8284a580436d94e1668f.tar.bz2
portage-abcf9f8b8fcc7daacafc8284a580436d94e1668f.zip
depgraph: verify "missed updates"
Since the change involving slot conflict parent atoms in commit 6cea2091526659521d35be6c8dc7733f69f1a760, we want to check to make sure we don't display any false positives in the "missed updates".
-rw-r--r--pym/_emerge/depgraph.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py
index f9f49545b..b58b76f15 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -591,6 +591,10 @@ class depgraph(object):
# Exclude installed here since we only
# want to show available updates.
continue
+ chosen_pkg, existing_node = \
+ self._select_package(pkg.root, pkg.slot_atom)
+ if chosen_pkg >= pkg:
+ continue
k = (pkg.root, pkg.slot_atom)
if k in missed_updates:
other_pkg, mask_type, parent_atoms = missed_updates[k]