From: Zac Medico Date: Mon, 31 Mar 2008 18:14:27 +0000 (-0000) Subject: Bug #197810 - Fix package selection logic so that it will always fall back X-Git-Tag: v2.2_pre6~286 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7464177498aa9d43280f8f4f40fc8bd1fffe5e02;p=portage.git 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 --- 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: