From 0dd750540028996ec8c0854f3ff05a93f9e6e750 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 13 Jan 2007 00:36:54 +0000 Subject: [PATCH] Send the unmerge failure message to stderr. svn path=/main/trunk/; revision=5623 --- bin/emerge | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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): -- 2.26.2