Inside profile_check(), call validate_ebuild_environment() to generate
authorZac Medico <zmedico@gentoo.org>
Mon, 24 Nov 2008 00:30:41 +0000 (00:30 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 24 Nov 2008 00:30:41 +0000 (00:30 -0000)
some extra profile warnings when appropriate.

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

pym/_emerge/__init__.py

index ef2e534f4e7013546cabd211722efcde013a636f..5679715e7ee895675f0c8d37afeea5aa8799d4bf 100644 (file)
@@ -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 " + \