Bug #335642 - Also make show_masked_packages() display to stdout since
authorZac Medico <zmedico@gentoo.org>
Thu, 2 Sep 2010 05:32:15 +0000 (22:32 -0700)
committerZac Medico <zmedico@gentoo.org>
Thu, 2 Sep 2010 05:32:15 +0000 (22:32 -0700)
depgraph._show_unsatisfied_dep() calls it.

pym/_emerge/depgraph.py

index f213c07e4a81bfe2ceb44a77b089eb8466ed36af..a51bd7facf984727908e1170d1f96e4fb3f4763f 100644 (file)
@@ -6087,7 +6087,7 @@ def show_masked_packages(masked_packages):
                                # above via mreasons.
                                pass
 
-               writemsg("- "+cpv+" (masked by: "+", ".join(mreasons)+")\n", noiselevel=-1)
+               writemsg_stdout("- "+cpv+" (masked by: "+", ".join(mreasons)+")\n", noiselevel=-1)
 
                if comment and comment not in shown_comments:
                        writemsg_stdout(filename + ":\n" + comment + "\n",
@@ -6100,7 +6100,7 @@ def show_masked_packages(masked_packages):
                                continue
                        msg = ("A copy of the '%s' license" + \
                        " is located at '%s'.\n\n") % (l, l_path)
-                       writemsg(msg, noiselevel=-1)
+                       writemsg_stdout(msg, noiselevel=-1)
                        shown_licenses.add(l)
        return have_eapi_mask