From: Zac Medico Date: Thu, 11 Oct 2007 14:22:29 +0000 (-0000) Subject: In depgraph.select_dep(), check for existing nodes in X-Git-Tag: v2.2_pre1~647 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c79c017e09b4079c97242a9c62ce5c5b5c66dd44;p=portage.git In depgraph.select_dep(), check for existing nodes in installed packages when necessary. svn path=/main/trunk/; revision=8050 --- 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