From: Zac Medico Date: Thu, 29 Sep 2011 01:41:22 +0000 (-0700) Subject: tweak "missed updates" code from last commit X-Git-Tag: v2.2.0_alpha60~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=20119771015247be5a7143ff73f00ec52f9e83cb;p=portage.git tweak "missed updates" code from last commit --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index b58b76f15..da61709e7 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -591,9 +591,9 @@ 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: + chosen_pkg = self._dynamic_config.mydbapi[pkg.root + ].match_pkgs(pkg.slot_atom) + if not chosen_pkg or chosen_pkg[-1] >= pkg: continue k = (pkg.root, pkg.slot_atom) if k in missed_updates: