summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-05-02 18:27:16 +0000
committerZac Medico <zmedico@gentoo.org>2008-05-02 18:27:16 +0000
commitdca018ce6500736ac9af8faa7fefd2717ecabf7b (patch)
treec7655a248bbb84065f29275df020a37adaf813a6
parenteabab3b356df168a03b79459183bd1f52049ab98 (diff)
downloadportage-dca018ce6500736ac9af8faa7fefd2717ecabf7b.tar.gz
portage-dca018ce6500736ac9af8faa7fefd2717ecabf7b.tar.bz2
portage-dca018ce6500736ac9af8faa7fefd2717ecabf7b.zip
Validate resume list data some more.
svn path=/main/trunk/; revision=10094
-rw-r--r--pym/_emerge/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pym/_emerge/__init__.py b/pym/_emerge/__init__.py
index e8f59ed36..faa0a83e8 100644
--- a/pym/_emerge/__init__.py
+++ b/pym/_emerge/__init__.py
@@ -4763,7 +4763,7 @@ class depgraph(object):
trees = self.trees
serialized_tasks = []
for x in mergelist:
- if len(x) != 4:
+ if not (isinstance(x, list) and len(x) == 4):
continue
pkg_type, myroot, pkg_key, action = x
if pkg_type not in self.pkg_tree_map: