From: Zac Medico Date: Sat, 5 Sep 2009 22:06:46 +0000 (-0000) Subject: Inside Scheduler._check_manifests(), display all broken manifests instead of X-Git-Tag: v2.2_rc41~66 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8c042c0203c4635ab15061e002b108227f1d3fdd;p=portage.git 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 --- 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):