From 20119771015247be5a7143ff73f00ec52f9e83cb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Wed, 28 Sep 2011 18:41:22 -0700 Subject: [PATCH] tweak "missed updates" code from last commit --- pym/_emerge/depgraph.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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: -- 2.26.2