Show which $ROOT a package was merged to when $ROOT is not /.
authorZac Medico <zmedico@gentoo.org>
Fri, 22 Jun 2007 23:42:22 +0000 (23:42 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 22 Jun 2007 23:42:22 +0000 (23:42 -0000)
svn path=/main/trunk/; revision=6959

pym/portage/elog/mod_echo.py

index 308c8efcc443c8ee63d9b5fe852ee5bc53cda7af..a5749a93a9b327a1fc323a15e7c2a8c660e4b070 100644 (file)
@@ -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: