summaryrefslogtreecommitdiffstats
path: root/pym/_emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-03-31 18:14:27 +0000
committerZac Medico <zmedico@gentoo.org>2008-03-31 18:14:27 +0000
commit7464177498aa9d43280f8f4f40fc8bd1fffe5e02 (patch)
tree82691177141ba789410fa52f5904eef239c8dc32 /pym/_emerge
parent243bd053a3cb52c404c4ecc5e9e77b18be0fcf2d (diff)
downloadportage-7464177498aa9d43280f8f4f40fc8bd1fffe5e02.tar.gz
portage-7464177498aa9d43280f8f4f40fc8bd1fffe5e02.tar.bz2
portage-7464177498aa9d43280f8f4f40fc8bd1fffe5e02.zip
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
Diffstat (limited to 'pym/_emerge')
-rw-r--r--pym/_emerge/__init__.py8
1 files changed, 0 insertions, 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: