diff options
author | Marius Mauch <genone@gentoo.org> | 2008-02-05 19:02:24 +0000 |
---|---|---|
committer | Marius Mauch <genone@gentoo.org> | 2008-02-05 19:02:24 +0000 |
commit | b25f0d29b75e92786b36f90ffd2d61bcee4285b4 (patch) | |
tree | 3171f10beb6170a8ae05fdc3b9eda89385f732f3 | |
parent | 5baa57a65368472c2c22b9bd2b30e634ef644b92 (diff) | |
download | portage-b25f0d29b75e92786b36f90ffd2d61bcee4285b4.tar.gz portage-b25f0d29b75e92786b36f90ffd2d61bcee4285b4.tar.bz2 portage-b25f0d29b75e92786b36f90ffd2d61bcee4285b4.zip |
display errors that occured during package set initalization
svn path=/main/trunk/; revision=9276
-rw-r--r-- | pym/_emerge/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
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") |