Make deprecated_profile_check() suggest to use eselect profile. Thanks to
authorZac Medico <zmedico@gentoo.org>
Mon, 5 Oct 2009 08:56:14 +0000 (08:56 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 5 Oct 2009 08:56:14 +0000 (08:56 -0000)
Samuli Suominen <ssuominen@g.o> for the suggestion.

svn path=/main/trunk/; revision=14495

pym/portage/__init__.py

index a210492b822a41d72e2d926a5bc6d684fad414ba..d44cad8ac530853046d9b09ad4cf757cc04941e9 100644 (file)
@@ -8686,6 +8686,8 @@ def deprecated_profile_check(settings=None):
                mode='r', encoding=_encodings['content'], errors='replace').readlines()
        writemsg(colorize("BAD", _("\n!!! Your current profile is "
                "deprecated and not supported anymore.")) + "\n", noiselevel=-1)
+       writemsg(colorize("BAD", _("!!! Use eselect profile to update your "
+               "profile.")) + "\n", noiselevel=-1)
        if not dcontent:
                writemsg(colorize("BAD", _("!!! Please refer to the "
                        "Gentoo Upgrading Guide.")) + "\n", noiselevel=-1)