chk_updated_cfg_files: fix whitespace in message
authorZac Medico <zmedico@gentoo.org>
Mon, 21 Mar 2011 00:11:14 +0000 (17:11 -0700)
committerZac Medico <zmedico@gentoo.org>
Sat, 26 Mar 2011 19:20:25 +0000 (12:20 -0700)
Thanks to Dennis Schridde in bug #359681.

pym/_emerge/actions.py

index b683a37e843be522d65b9f835763b64cfb13a3ec..84ed27c9e226b1f356dda78bc8e6192fdfbd5e5b 100644 (file)
@@ -2944,7 +2944,8 @@ def chk_updated_cfg_files(eroot, config_protect):
                portage.util.find_updated_config_files(target_root, config_protect))
 
        for x in result:
-               print("\n"+colorize("WARN", " * IMPORTANT:"), end=' ')
+               writemsg_level("\n %s " % (colorize("WARN", "* IMPORTANT:"),),
+                       level=logging.INFO, noiselevel=-1)
                if not x[1]: # it's a protected file
                        writemsg_level("config file '%s' needs updating.\n" % x[0],
                                level=logging.INFO, noiselevel=-1)