summaryrefslogtreecommitdiffstats
path: root/pym
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-03-20 17:11:14 -0700
committerZac Medico <zmedico@gentoo.org>2011-03-26 12:20:25 -0700
commitb402e535f0a728c13183a92a19f48f173164eada (patch)
treed521fac841926076ac4cb7966c8e874f8a0188d5 /pym
parent61cdc29e485fd55509f21ceb0b9fefdacd664849 (diff)
downloadportage-b402e535f0a728c13183a92a19f48f173164eada.tar.gz
portage-b402e535f0a728c13183a92a19f48f173164eada.tar.bz2
portage-b402e535f0a728c13183a92a19f48f173164eada.zip
chk_updated_cfg_files: fix whitespace in message
Thanks to Dennis Schridde in bug #359681.
Diffstat (limited to 'pym')
-rw-r--r--pym/_emerge/actions.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py
index b683a37e8..84ed27c9e 100644
--- a/pym/_emerge/actions.py
+++ b/pym/_emerge/actions.py
@@ -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)