From: Zac Medico Date: Sun, 12 Jul 2009 08:03:41 +0000 (-0000) Subject: In depgraph._show_missed_update(), don't show installed packages since we X-Git-Tag: v2.2_rc34~48 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1607ad3c1380645822f26d144f0d6f3ef8182b07;p=portage.git In depgraph._show_missed_update(), don't show installed packages since we only want to show available updates. svn path=/main/trunk/; revision=13819 --- 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: