diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-05-02 18:27:16 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-05-02 18:27:16 +0000 |
commit | dca018ce6500736ac9af8faa7fefd2717ecabf7b (patch) | |
tree | c7655a248bbb84065f29275df020a37adaf813a6 /pym/_emerge | |
parent | eabab3b356df168a03b79459183bd1f52049ab98 (diff) | |
download | portage-dca018ce6500736ac9af8faa7fefd2717ecabf7b.tar.gz portage-dca018ce6500736ac9af8faa7fefd2717ecabf7b.tar.bz2 portage-dca018ce6500736ac9af8faa7fefd2717ecabf7b.zip |
Validate resume list data some more.
svn path=/main/trunk/; revision=10094
Diffstat (limited to 'pym/_emerge')
-rw-r--r-- | pym/_emerge/__init__.py | 2 |
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: |