From c79c017e09b4079c97242a9c62ce5c5b5c66dd44 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 11 Oct 2007 14:22:29 +0000 Subject: [PATCH] In depgraph.select_dep(), check for existing nodes in installed packages when necessary. svn path=/main/trunk/; revision=8050 --- pym/emerge/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index 63146e93a..596320a92 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -1944,7 +1944,8 @@ class depgraph(object): for db, pkg_type, built, installed, db_keys in dbs: if existing_node: break - if installed and (matched_packages or empty): + if installed and not find_existing_node and \ + (matched_packages or empty): # We only need to select an installed package here # if there is no other choice. continue -- 2.26.2