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

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

pym/_emerge/__init__.py

index efb8635652d04c7bc41250dd346f31260b858101..12922636ae8181f9bbb287a19a5bf8f6ea52c6a6 100644 (file)
@@ -2367,6 +2367,8 @@ class depgraph(object):
                                                # This will have already been reported
                                                # above via mreasons.
                                                pass
+                               if not mreasons:
+                                       continue
                                masked_packages.append((cpv, mreasons,
                                        comment, filename, missing_licenses))
                if masked_packages: