From: Mark Wagner Date: Tue, 16 Aug 2011 05:38:00 +0000 (-0700) Subject: Improve the invalid profile msg (bug 379327). X-Git-Tag: v2.2.0_alpha52~77 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=415458868f42c677a1a6518c1e8d52b6597c751c;p=portage.git Improve the invalid profile msg (bug 379327). --- 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