Commit c64dda71 authored by Nicolas Dumazet's avatar Nicolas Dumazet

get is sufficient here


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37113 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 4384190c
......@@ -705,7 +705,7 @@ class SimulationMovement(Movement, PropertyRecordableMixin):
# descend in the tree to find self:
tree_node = path_tree
for path_id in self.getPhysicalPath():
tree_node = tree_node.setdefault(path_id, treeNode())
tree_node = tree_node.get(path_id, treeNode())
# explore subobjects of self
for descendant, path in descendantGenerator(self,
......
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