From: Zac Medico Date: Sun, 7 Jul 2013 03:22:50 +0000 (-0700) Subject: MergeProcess: flush stderr for traceback X-Git-Tag: v2.2.0_alpha187~6 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6a43553134eefadaa2a6da312e4457cfcb128a5c;p=portage.git MergeProcess: flush stderr for traceback --- diff --git a/pym/portage/dbapi/_MergeProcess.py b/pym/portage/dbapi/_MergeProcess.py index 6c4104101..0c207762e 100644 --- a/pym/portage/dbapi/_MergeProcess.py +++ b/pym/portage/dbapi/_MergeProcess.py @@ -233,6 +233,8 @@ class MergeProcess(ForkProcess): raise except: traceback.print_exc() + # os._exit() skips stderr flush! + sys.stderr.flush() finally: os._exit(rval)