summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-08 16:52:45 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-08 16:52:45 +0000
commitd5961519d2e94c4087aa0848b1d04499ffbee3df (patch)
treebcf16faebb4f31e24fc821df96eac540b8e64785
parentc68ebc6b6f93d5a4bba5d9d6d3252cc686594ffa (diff)
downloadportage-d5961519d2e94c4087aa0848b1d04499ffbee3df.tar.gz
portage-d5961519d2e94c4087aa0848b1d04499ffbee3df.tar.bz2
portage-d5961519d2e94c4087aa0848b1d04499ffbee3df.zip
Bug #220689 - Fix package selection logic so that it doesn't trigger the
code path from bug 219369 in some unwanted cases. svn path=/main/trunk/; revision=10233
-rw-r--r--pym/_emerge/__init__.py10
1 files changed, 0 insertions, 10 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index 104f4cf80..f7efbb6a9 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -3100,16 +3100,6 @@ class depgraph(object):
cur_use, cur_iuse)
if reinstall_for_flags:
reinstall = True
- if not installed:
- must_reinstall = empty or \
- (myarg and not selective)
- if not reinstall_for_flags and \
- not must_reinstall and \
- cpv in vardb.match(atom):
- # If the installed version is masked, it may
- # be necessary to look at lower versions,
- # in case there is a visible downgrade.
- continue
if not built:
myeb = cpv
matched_packages.append(pkg)