diff options
-rw-r--r-- | pym/_emerge/depgraph.py | 6 |
1 files 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: |