summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2009-07-12 08:03:41 +0000
committerZac Medico <zmedico@gentoo.org>2009-07-12 08:03:41 +0000
commit1607ad3c1380645822f26d144f0d6f3ef8182b07 (patch)
treebbce60a8d771f6dcff07a49072dcabfcb2d7ab79
parentea3dc67f52872d1000b125dedd4660f83cdc0fe1 (diff)
downloadportage-1607ad3c1380645822f26d144f0d6f3ef8182b07.tar.gz
portage-1607ad3c1380645822f26d144f0d6f3ef8182b07.tar.bz2
portage-1607ad3c1380645822f26d144f0d6f3ef8182b07.zip
In depgraph._show_missed_update(), don't show installed packages since we
only want to show available updates. svn path=/main/trunk/; revision=13819
-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 8297a360e..9066a59e4 100644
--- a/pym/_emerge/depgraph.py
+++ b/pym/_emerge/depgraph.py
@@ -275,6 +275,10 @@ class depgraph(object):
missed_updates = {}
for pkg, mask_reasons in \
self._dynamic_config._runtime_pkg_mask.iteritems():
+ if pkg.installed:
+ # Exclude installed here since we only
+ # want to show available updates.
+ continue
if pkg.slot_atom in missed_updates:
other_pkg, parent_atoms = missed_updates[pkg.slot_atom]
if other_pkg > pkg: