1 |
Author: zmedico |
2 |
Date: 2008-05-02 18:27:16 +0000 (Fri, 02 May 2008) |
3 |
New Revision: 10094 |
4 |
|
5 |
Modified: |
6 |
main/trunk/pym/_emerge/__init__.py |
7 |
Log: |
8 |
Validate resume list data some more. |
9 |
|
10 |
|
11 |
Modified: main/trunk/pym/_emerge/__init__.py |
12 |
=================================================================== |
13 |
--- main/trunk/pym/_emerge/__init__.py 2008-05-02 17:56:21 UTC (rev 10093) |
14 |
+++ main/trunk/pym/_emerge/__init__.py 2008-05-02 18:27:16 UTC (rev 10094) |
15 |
@@ -4763,7 +4763,7 @@ |
16 |
trees = self.trees |
17 |
serialized_tasks = [] |
18 |
for x in mergelist: |
19 |
- if len(x) != 4: |
20 |
+ if not (isinstance(x, list) and len(x) == 4): |
21 |
continue |
22 |
pkg_type, myroot, pkg_key, action = x |
23 |
if pkg_type not in self.pkg_tree_map: |
24 |
|
25 |
-- |
26 |
gentoo-commits@l.g.o mailing list |