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>
Mon, 21 Mar 2011 00:11:14 +0000 (17:11 -0700)
Thanks to Dennis Schridde in bug #359681.

pym/_emerge/actions.py

index c752800810a081b5ae88f0f5ddef480ec49de6a5..f79f9279d0e11c5a5d88b443db1db84145d52a11 100644 (file)
@@ -2965,7 +2965,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)