Merge --quiet fixes from trunk r6112:6113
authorZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 21:27:29 +0000 (21:27 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 1 Mar 2007 21:27:29 +0000 (21:27 -0000)
svn path=/main/branches/2.1.2/; revision=6114

bin/emerge

index b56eeb3303398ccab0f789484877c334b3e37cff..de8e90cf9a5c99ff12c31e2c99505f0b77113435 100755 (executable)
@@ -3424,7 +3424,7 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files,
                                        # ok, now the last-merged package
                                        # is protected, and the rest are selected
                if global_unmerge and not numselected:
-                       print "\n>>> No outdated packages were found on your system.\n"
+                       portage.writemsg_stdout("\n>>> No outdated packages were found on your system.\n")
                        return 0
        
                if not numselected:
@@ -3545,9 +3545,9 @@ def chk_updated_info_files(root, infodirs, prev_mtimes, retval):
                                                regen_infodirs.append(inforoot)
 
                if not regen_infodirs:
-                       print " "+green("*")+" GNU info directory index is up-to-date."
+                       portage.writemsg_stdout(" "+green("*")+" GNU info directory index is up-to-date.\n")
                else:
-                       print " "+green("*")+" Regenerating GNU info directory index..."
+                       portage.writemsg_stdout(" "+green("*")+" Regenerating GNU info directory index...\n")
 
                        icount=0
                        badcount=0
@@ -4873,7 +4873,7 @@ def action_build(settings, trees, mtimedb,
                if mtimedb.has_key("resume"):
                        del mtimedb["resume"]
                if settings["AUTOCLEAN"] and "yes"==settings["AUTOCLEAN"]:
-                       print ">>> Auto-cleaning packages..."
+                       portage.writemsg_stdout(">>> Auto-cleaning packages...\n")
                        vartree = trees[settings["ROOT"]]["vartree"]
                        unmerge(settings, myopts, vartree, "clean", ["world"],
                                ldpath_mtimes, autoclean=1)