Commit 50c018b2 authored by Jérome Perrin's avatar Jérome Perrin

cast getCellKeyList as list, as it can be a tuple.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5007 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 8670c907
...@@ -67,8 +67,8 @@ class PredicateMatrix(XMLMatrix): ...@@ -67,8 +67,8 @@ class PredicateMatrix(XMLMatrix):
""" """
total_priorities = {} # a dictionnary giving sum of int_index for a total_priorities = {} # a dictionnary giving sum of int_index for a
# coordinate. # coordinate.
cell_key_list = self.getCellKeyList( cell_key_list = list(self.getCellKeyList(
base_id = self.predicate_matrix_base_id ) base_id = self.predicate_matrix_base_id ))
for coord_list in cell_key_list : for coord_list in cell_key_list :
priority = 0 priority = 0
for coord in coord_list : for coord in coord_list :
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment