diff options
author | Mark Wagner <carnildo@gmail.com> | 2011-08-15 22:38:00 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-08-15 22:38:00 -0700 |
commit | 415458868f42c677a1a6518c1e8d52b6597c751c (patch) | |
tree | 492c12a7f2ac75a92ad9d547929e592f82eb03e5 | |
parent | 0c8d952b89afe44ff561b278188d5a22d91e9529 (diff) | |
download | portage-415458868f42c677a1a6518c1e8d52b6597c751c.tar.gz portage-415458868f42c677a1a6518c1e8d52b6597c751c.tar.bz2 portage-415458868f42c677a1a6518c1e8d52b6597c751c.zip |
Improve the invalid profile msg (bug 379327).
-rw-r--r-- | pym/_emerge/main.py | 8 |
1 files 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 |