Fix the writemsg noiselevel so that versions are correctly shown even when --quiet...
authorZac Medico <zmedico@gentoo.org>
Wed, 28 Jun 2006 05:59:20 +0000 (05:59 -0000)
committerZac Medico <zmedico@gentoo.org>
Wed, 28 Jun 2006 05:59:20 +0000 (05:59 -0000)
svn path=/main/trunk/; revision=3683

bin/emerge

index 5a17a8c9e7e7dd5fd51f9f024263bef0e9bbf9cf..ed036f8e6c2bb8ee7f62b2c1cff618d771cc6979 100755 (executable)
@@ -2308,12 +2308,14 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files,
                                        else:
                                                myversion=mysplit[2]+"-"+mysplit[3]
                                        if mytype=="selected":
-                                               portage.writemsg_stdout(colorize("UNMERGE_WARN", myversion))
+                                               portage.writemsg_stdout(
+                                                       colorize("UNMERGE_WARN", myversion), noiselevel=-1)
                                        else:
-                                               portage.writemsg_stdout(colorize("GOOD", myversion))
+                                               portage.writemsg_stdout(
+                                                       colorize("GOOD", myversion), noiselevel=-1)
                        else:
                                portage.writemsg_stdout("none", noiselevel=-1)
-                       print
+                       portage.writemsg_stdout("\n", noiselevel=-1)
 
        portage.writemsg_stdout("\n>>> " + colorize("UNMERGE_WARN", "'Selected'") + \
                " packages are slated for removal.\n")