From 9059c43d266ce7990f352fbc7e5f482bc0dfcf54 Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 22 Jun 2007 23:43:44 +0000 Subject: [PATCH] Show which $ROOT a package was merged to when $ROOT is not /. (trunk r6959) svn path=/main/branches/2.1.2/; revision=6960 --- pym/elog_modules/mod_echo.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/elog_modules/mod_echo.py b/pym/elog_modules/mod_echo.py index b798fb94b..b694565c6 100644 --- a/pym/elog_modules/mod_echo.py +++ b/pym/elog_modules/mod_echo.py @@ -21,9 +21,12 @@ def finalize(): def _finalize(mysettings, items): printer = EOutput() + root_msg = "" + if mysettings["ROOT"] != "/": + root_msg = " merged to %s" % mysettings["ROOT"] for key, logentries in items.iteritems(): print - printer.einfo("Messages for package %s:" % key) + printer.einfo("Messages for package %s%s:" % (key, root_msg)) print for phase in EBUILD_PHASES: if phase not in logentries: -- 2.26.2