Don't show unmasked packages (currently installed packages) in
authorZac Medico <zmedico@gentoo.org>
Fri, 8 Feb 2008 08:48:51 +0000 (08:48 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 8 Feb 2008 08:48:51 +0000 (08:48 -0000)
the masking display. (trunk r9292)

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

bin/emerge

index 4d8d3a656769626dadc6ea9f296016ac37df7b37..3d697502bdda7d4dfd2ae431b2758c300618bf68 100755 (executable)
@@ -2029,6 +2029,8 @@ class depgraph:
                                                mreasons.append("invalid: SLOT is undefined")
                                        if not portage.eapi_is_supported(metadata["EAPI"]):
                                                have_eapi_mask = True
+                               if not mreasons:
+                                       continue
                                masked_packages.append((cpv, mreasons,
                                        comment, filename, missing_licenses))
                if masked_packages: