From cd6cd22a2953ab4601affb30c99ae6617a42422e Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Mon, 5 Oct 2009 08:56:14 +0000 Subject: [PATCH] Make deprecated_profile_check() suggest to use eselect profile. Thanks to Samuli Suominen for the suggestion. svn path=/main/trunk/; revision=14495 --- pym/portage/__init__.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index a210492b8..d44cad8ac 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -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) -- 2.26.2