Remove some redundant and obsolete code for warning about installed
authorZac Medico <zmedico@gentoo.org>
Mon, 31 Mar 2008 20:26:26 +0000 (20:26 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 31 Mar 2008 20:26:26 +0000 (20:26 -0000)
packages pulled into the graph. (trunk r9650)

svn path=/main/branches/2.1.2/; revision=9651

bin/emerge

index 44715665497ab216c2035d0de7127c8db93dc8a1..d912176b604340ee2398cf28e93316facd11d4bd 100755 (executable)
@@ -1762,18 +1762,8 @@ class depgraph:
                                        return 0
 
                if pkg.installed:
-                       # Warn if all matching ebuilds are masked or
-                       # the installed package itself is masked. Do
-                       # not warn if there are simply no matching
-                       # ebuilds since that would be annoying in some
-                       # cases:
-                       #
-                       #  - binary packages installed from an overlay
-                       #    that is not listed in PORTDIR_OVERLAY
-                       #
-                       #  - multi-slot atoms listed in the world file
-                       #    to prevent depclean from removing them
-
+                       # Warn if an installed package is masked and it
+                       # is pulled into the graph.
                        if not visible(pkgsettings, pkg):
                                self._masked_installed.append((pkg, pkgsettings))