Commit e61e8833 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

small cleanup.

parent 56c33d07
...@@ -90,9 +90,7 @@ class MovementCollectionDiff(object): ...@@ -90,9 +90,7 @@ class MovementCollectionDiff(object):
property_dict = self._property_dict_dict.get(movement) property_dict = self._property_dict_dict.get(movement)
# for new movement, property_dict should be calculated here. # for new movement, property_dict should be calculated here.
if property_dict is None: if property_dict is None:
property_dict = _getPropertyList(movement) return _getPropertyAndCategoryList(movement)
property_dict.update(_getCategoryList(movement, acquire=False))
return property_dict
else: else:
return property_dict return property_dict
......
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