1 |
Author: zmedico |
2 |
Date: 2009-09-05 22:06:46 +0000 (Sat, 05 Sep 2009) |
3 |
New Revision: 14202 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/Scheduler.py |
7 |
Log: |
8 |
Inside Scheduler._check_manifests(), display all broken manifests instead of |
9 |
returning after the first one. Thanks to Vlastimil Babka <caster@g.o> for the |
10 |
suggestion. |
11 |
|
12 |
|
13 |
Modified: main/trunk/pym/_emerge/Scheduler.py |
14 |
=================================================================== |
15 |
--- main/trunk/pym/_emerge/Scheduler.py 2009-09-05 22:01:43 UTC (rev 14201) |
16 |
+++ main/trunk/pym/_emerge/Scheduler.py 2009-09-05 22:06:46 UTC (rev 14202) |
17 |
@@ -607,6 +607,8 @@ |
18 |
quiet_settings[myroot] = quiet_config |
19 |
del quiet_config |
20 |
|
21 |
+ failures = 0 |
22 |
+ |
23 |
for x in self._mergelist: |
24 |
if not isinstance(x, Package) or \ |
25 |
x.type_name != "ebuild": |
26 |
@@ -624,8 +626,10 @@ |
27 |
quiet_config = quiet_settings[root_config.root] |
28 |
quiet_config["O"] = os.path.dirname(portdb.findname(x.cpv)) |
29 |
if not portage.digestcheck([], quiet_config, strict=True): |
30 |
- return 1 |
31 |
+ failures |= 1 |
32 |
|
33 |
+ if failures: |
34 |
+ return 1 |
35 |
return os.EX_OK |
36 |
|
37 |
def _add_prefetchers(self): |