Bug #220689 - Fix package selection logic so that it doesn't trigger the
authorZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 16:52:45 +0000 (16:52 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 8 May 2008 16:52:45 +0000 (16:52 -0000)
code path from bug 219369 in some unwanted cases.

svn path=/main/trunk/; revision=10233

pym/_emerge/__init__.py

index 104f4cf8057df87566c738622546cf27a766a845..f7efbb6a9f4c0ea2d4eea68fa49ac87e307a3875 100644 (file)
@@ -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)