From 8c042c0203c4635ab15061e002b108227f1d3fdd Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Sat, 5 Sep 2009 22:06:46 +0000 Subject: [PATCH] Inside Scheduler._check_manifests(), display all broken manifests instead of returning after the first one. Thanks to Vlastimil Babka for the suggestion. svn path=/main/trunk/; revision=14202 --- pym/_emerge/Scheduler.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pym/_emerge/Scheduler.py b/pym/_emerge/Scheduler.py index 6a44d0e2f..06074c932 100644 --- a/pym/_emerge/Scheduler.py +++ b/pym/_emerge/Scheduler.py @@ -607,6 +607,8 @@ class Scheduler(PollScheduler): quiet_settings[myroot] = quiet_config del quiet_config + failures = 0 + for x in self._mergelist: if not isinstance(x, Package) or \ x.type_name != "ebuild": @@ -624,8 +626,10 @@ class Scheduler(PollScheduler): quiet_config = quiet_settings[root_config.root] quiet_config["O"] = os.path.dirname(portdb.findname(x.cpv)) if not portage.digestcheck([], quiet_config, strict=True): - return 1 + failures |= 1 + if failures: + return 1 return os.EX_OK def _add_prefetchers(self): -- 2.26.2