From 7464177498aa9d43280f8f4f40fc8bd1fffe5e02 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 31 Mar 2008 18:14:27 +0000 Subject: [PATCH] Bug #197810 - Fix package selection logic so that it will always fall back to an installed package when necessary. svn path=/main/trunk/; revision=9646 --- pym/_emerge/__init__.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 076b2b007..60cb96e1d 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -2593,14 +2593,6 @@ class depgraph(object): for db, pkg_type, built, installed, db_keys in dbs: if existing_node: break - if installed and not find_existing_node and \ - matched_packages: - # We only need to select an installed package in the - # following cases: - # 1) no available packages - # 2) available packages rejected for some reason - # such as --newuse - continue if hasattr(db, "xmatch"): cpv_list = db.xmatch("match-all", atom) else: -- 2.26.2