Commit 3f8b2867 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

update comments.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@33567 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fafe37c5
...@@ -198,12 +198,12 @@ class SolverTool(BaseTool): ...@@ -198,12 +198,12 @@ class SolverTool(BaseTool):
of the interface definition. of the interface definition.
""" """
# Short Term Implementation Approach # Short Term Implementation Approach
# XXX tested_property can be multiple for some testers like Net
# Converted Quantity Divergence Tester or Variation Divergence
# Tester.
test_property = divergence_tester.getTestedProperty() test_property = divergence_tester.getTestedProperty()
application_value = movement application_value = movement
try: try:
# XXX this way does not work correctly for category,
# eg. delivery_line.hasProperty('source') returns True even if it
# is only difined in its parent delivery.
while not application_value.hasProperty(test_property): while not application_value.hasProperty(test_property):
application_value = application_value.getParentValue() application_value = application_value.getParentValue()
except AttributeError: except AttributeError:
......
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