summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-11-24 00:30:41 +0000
committerZac Medico <zmedico@gentoo.org>2008-11-24 00:30:41 +0000
commitc3dcf30bb8df1997b3bc594fba0184c765c66281 (patch)
treed62bdef7a825f13f44d1fb5750cc5ff466247d7a
parent108cdcc017647ca4f09f7b597bb5bc2c63b02615 (diff)
downloadportage-c3dcf30bb8df1997b3bc594fba0184c765c66281.tar.gz
portage-c3dcf30bb8df1997b3bc594fba0184c765c66281.tar.bz2
portage-c3dcf30bb8df1997b3bc594fba0184c765c66281.zip
Inside profile_check(), call validate_ebuild_environment() to generate
some extra profile warnings when appropriate. svn path=/main/trunk/; revision=12066
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index ef2e534f4..5679715e7 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -13933,6 +13933,8 @@ def profile_check(trees, myaction, myopts):
for root, root_trees in trees.iteritems():
if root_trees["root_config"].settings.profiles:
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 " + \