From 415458868f42c677a1a6518c1e8d52b6597c751c Mon Sep 17 00:00:00 2001 From: Mark Wagner Date: Mon, 15 Aug 2011 22:38:00 -0700 Subject: Improve the invalid profile msg (bug 379327). --- pym/_emerge/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pym/_emerge/main.py b/pym/_emerge/main.py index 283021460..84c4c58b8 100644 --- a/pym/_emerge/main.py +++ b/pym/_emerge/main.py @@ -1466,10 +1466,10 @@ def profile_check(trees, myaction): continue # generate some profile related warning messages validate_ebuild_environment(trees) - msg = "If you have just changed your profile configuration, you " + \ - "should revert back to the previous configuration. Due to " + \ - "your current profile being invalid, allowed actions are " + \ - "limited to --help, --info, --sync, and --version." + msg = ("Your current profile is invalid. If you have just changed " + "your profile configuration, you should revert back to the " + "previous configuration. Allowed actions are limited to " + "--help, --info, --sync, and --version.") writemsg_level("".join("!!! %s\n" % l for l in textwrap.wrap(msg, 70)), level=logging.ERROR, noiselevel=-1) return 1 -- cgit v1.2.3-1-g7c22