Gentoo Archives: gentoo-commits

From: "Marius Mauch (genone)" <genone@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9276 - main/trunk/pym/_emerge
Date: Tue, 05 Feb 2008 19:02:30
Message-Id: E1JMT3q-0008EO-7p@stork.gentoo.org
1 Author: genone
2 Date: 2008-02-05 19:02:24 +0000 (Tue, 05 Feb 2008)
3 New Revision: 9276
4
5 Modified:
6 main/trunk/pym/_emerge/__init__.py
7 Log:
8 display errors that occured during package set initalization
9
10 Modified: main/trunk/pym/_emerge/__init__.py
11 ===================================================================
12 --- main/trunk/pym/_emerge/__init__.py 2008-02-05 18:57:08 UTC (rev 9275)
13 +++ main/trunk/pym/_emerge/__init__.py 2008-02-05 19:02:24 UTC (rev 9276)
14 @@ -7054,6 +7054,10 @@
15 if myaction in ("clean", "config", "depclean", "info", "prune", "unmerge", None):
16 root_config = trees[settings["ROOT"]]["root_config"]
17 setconfig = root_config.setconfig
18 + # display errors that occured while loading the SetConfig instance
19 + for e in setconfig.errors:
20 + print colorize("BAD", "Error during set creation: %s" % e)
21 +
22 sets = setconfig.getSets()
23 # emerge relies on the existance of sets with names "world" and "system"
24 required_sets = ("world", "system")
25
26 --
27 gentoo-commits@l.g.o mailing list