From f1718af0026003d23608a68b56fbc0487d1e3c68 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Tue, 14 Jun 2011 14:21:37 +0200 Subject: [PATCH] add some comments; --- product/ERP5/MovementCollectionDiff.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/product/ERP5/MovementCollectionDiff.py b/product/ERP5/MovementCollectionDiff.py index 55f1799fd4..d44bb74816 100644 --- a/product/ERP5/MovementCollectionDiff.py +++ b/product/ERP5/MovementCollectionDiff.py @@ -87,7 +87,9 @@ class MovementCollectionDiff(object): to update an existing movement or to create a new movement. """ + # for updatable movement, property_dict is already calculated. property_dict = self._property_dict_dict.get(movement) + # for new movement, property_dict should be calculated here. if property_dict is None: if self._updating_tester_list is not None: property_dict = _getPropertyDict(movement, -- 2.30.9