From b25f0d29b75e92786b36f90ffd2d61bcee4285b4 Mon Sep 17 00:00:00 2001 From: Marius Mauch Date: Tue, 5 Feb 2008 19:02:24 +0000 Subject: [PATCH] display errors that occured during package set initalization svn path=/main/trunk/; revision=9276 --- pym/_emerge/__init__.py | 4 ++++ 1 file changed, 4 insertions(+) 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") -- 2.26.2