From: Marius Mauch Date: Tue, 5 Feb 2008 19:02:24 +0000 (-0000) Subject: display errors that occured during package set initalization X-Git-Tag: v2.2_pre1~21 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b25f0d29b75e92786b36f90ffd2d61bcee4285b4;p=portage.git display errors that occured during package set initalization svn path=/main/trunk/; revision=9276 --- diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py index 9e05ad1e4..31abe5154 100644 --- a/pym/_emerge/__init__.py +++ b/pym/_emerge/__init__.py @@ -7054,6 +7054,10 @@ def emerge_main(): if myaction in ("clean", "config", "depclean", "info", "prune", "unmerge", None): root_config = trees[settings["ROOT"]]["root_config"] setconfig = root_config.setconfig + # display errors that occured while loading the SetConfig instance + for e in setconfig.errors: + print colorize("BAD", "Error during set creation: %s" % e) + sets = setconfig.getSets() # emerge relies on the existance of sets with names "world" and "system" required_sets = ("world", "system")