[Erp5-report] r37113 nicolas.dumazet - /erp5/trunk/products/ERP5/Document/
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Jul 15 07:23:28 CEST 2010
Author: nicolas.dumazet
Date: Thu Jul 15 07:23:27 2010
New Revision: 37113
URL: http://svn.erp5.org?rev=37113&view=rev
Log:
get is sufficient here
Modified:
erp5/trunk/products/ERP5/Document/SimulationMovement.py
Modified: erp5/trunk/products/ERP5/Document/SimulationMovement.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/Document/SimulationMovement.py?rev=37113&r1=37112&r2=37113&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/Document/SimulationMovement.py [utf8] (original)
+++ erp5/trunk/products/ERP5/Document/SimulationMovement.py [utf8] Thu Jul 15 07:23:27 2010
@@ -705,7 +705,7 @@ class SimulationMovement(Movement, Prope
# 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,
More information about the Erp5-report
mailing list