summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/emerge/__init__.py8
1 files changed, 8 insertions, 0 deletions
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)