summaryrefslogtreecommitdiffstats
path: root/pym/emerge
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2007-06-22 23:11:38 +0000
committerZac Medico <zmedico@gentoo.org>2007-06-22 23:11:38 +0000
commita382630c4c4414597190da450970f4885a632b62 (patch)
tree13ff560b1a9ec85d49b940668bf5bdd5b1aaf403 /pym/emerge
parentf2beaa1b01fbfc9ad8eea94df22ca92947446d01 (diff)
downloadportage-a382630c4c4414597190da450970f4885a632b62.tar.gz
portage-a382630c4c4414597190da450970f4885a632b62.tar.bz2
portage-a382630c4c4414597190da450970f4885a632b62.zip
Make elog finalize() handling safe for PORTAGE_CONFIGROOT.
svn path=/main/trunk/; revision=6955
Diffstat (limited to 'pym/emerge')
-rw-r--r--pym/emerge/__init__.py7
1 files changed, 2 insertions, 5 deletions
diff --git a/pym/emerge/__init__.py b/pym/emerge/__init__.py
index 6d8da7c2d..17ff8d58d 100644
--- a/pym/emerge/__init__.py
+++ b/pym/emerge/__init__.py
@@ -3870,12 +3870,9 @@ def post_emerge(trees, mtimedb, retval):
" *** 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).
+ # last.
from portage.elog import mod_echo
- if mod_echo._items:
- mod_echo.finalize(settings)
- mod_echo._items.clear()
+ mod_echo.finalize()
if "noinfo" not in settings.features:
chk_updated_info_files(target_root, infodirs, info_mtimes, retval)