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

pym/elog_modules/mod_echo.py

index b798fb94be1b6fb29b42f3a5884350f735c36dd6..b694565c6e01b814439f2aeb54561ae731a03b6a 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: