Commit e8239775 authored by Guillaume Michon's avatar Guillaume Michon

Added a XXX comment about accessor behavior


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@3818 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 7145fb63
......@@ -93,7 +93,9 @@ class Setter(Method):
# Call the private setter
method = getattr(instance, '_' + self._id)
method(*args, **kw)
if self._reindex: instance.reindexObject()
if self._reindex: instance.reindexObject() # XXX Should the Setter check
# if the property value has changed
# to decide reindexing, like edit() ?
def _evaluateTales(instance=None, value=None):
expression = Expression(value)
......
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