summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-22 13:43:46 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-22 13:43:46 +0000
commitedd342b27c31929d5f7e92f1ac305e6152d70377 (patch)
tree6da7598eb7a2624f577b7d12358a089493562890
parent64b2c8afce029d04cb1de1f4377fe64eb546826f (diff)
downloadportage-edd342b27c31929d5f7e92f1ac305e6152d70377.tar.gz
portage-edd342b27c31929d5f7e92f1ac305e6152d70377.tar.bz2
portage-edd342b27c31929d5f7e92f1ac305e6152d70377.zip
Dump mod_echo elog output inside post_emerge(), just before the other notifications that happen at exit.
svn path=/main/trunk/; revision=6953
-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)