From edd342b27c31929d5f7e92f1ac305e6152d70377 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Jun 2007 13:43:46 +0000 Subject: Dump mod_echo elog output inside post_emerge(), just before the other notifications that happen at exit. svn path=/main/trunk/; revision=6953 --- pym/emerge/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py index e62611e8e..6d8da7c2d 100644 --- a/pym/emerge/__init__.py +++ b/pym/emerge/__init__.py @@ -3869,6 +3869,14 @@ def post_emerge(trees, mtimedb, retval): emergelog("notitles" not in settings.features, " *** exiting successfully.") + # Dump the mod_echo output now so that our other notifications are shown + # last. FIXME: handle finalize for multiple config instances + # (PORTAGE_CONFIGROOT support). + from portage.elog import mod_echo + if mod_echo._items: + mod_echo.finalize(settings) + mod_echo._items.clear() + if "noinfo" not in settings.features: chk_updated_info_files(target_root, infodirs, info_mtimes, retval) -- cgit v1.2.3-1-g7c22