From: Zac Medico Date: Sat, 13 Jan 2007 00:36:54 +0000 (-0000) Subject: Send the unmerge failure message to stderr. X-Git-Tag: v2.1.2~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0dd750540028996ec8c0854f3ff05a93f9e6e750;p=portage.git Send the unmerge failure message to stderr. svn path=/main/trunk/; revision=5623 --- diff --git a/bin/emerge b/bin/emerge index 6c8b7eb87..35981fb0f 100755 --- a/bin/emerge +++ b/bin/emerge @@ -3439,7 +3439,7 @@ def unmerge(settings, myopts, vartree, unmerge_action, unmerge_files, def show_unmerge_failure_message(pkg, ebuild, retval): from formatter import AbstractFormatter, DumbWriter - f = AbstractFormatter(DumbWriter(maxcol=72)) + f = AbstractFormatter(DumbWriter(sys.stderr, maxcol=72)) msg = [] msg.append("A removal phase of the '%s' package " % pkg) @@ -3449,10 +3449,11 @@ def show_unmerge_failure_message(pkg, ebuild, retval): msg.append("If necessary, manually remove the ebuild " ) msg.append("in order to skip the execution of removal phases.") - print + f.add_line_break() for x in msg: f.add_flowing_data(x) f.end_paragraph(1) + f.writer.flush() def chk_updated_info_files(root, infodirs, prev_mtimes, retval):