Commit 93b6268e authored by Sebastien Robin's avatar Sebastien Robin

a get method should not modify the object

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16979 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 433877dd
......@@ -474,7 +474,7 @@ class XMLMatrix(Folder):
Returns the cell range as a list of index ids
"""
if not hasattr(self, 'index'):
self.index = PersistentMapping()
return []
cell_range = self.index.get(base_id, None)
if cell_range is None: return None
result = []
......
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