Commit 4143e9b0 authored by Sebastien Robin's avatar Sebastien Robin

put back the cache when evaluating expressions

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8440 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 50f252d2
......@@ -104,8 +104,7 @@ def _evaluateTales(instance=None, value=None):
econtext = createExpressionContext(instance)
return expression(econtext)
# evaluateTales = CachingMethod(_evaluateTales, id = 'evaluateTales', cache_duration=300)
evaluateTales = _evaluateTales
evaluateTales = CachingMethod(_evaluateTales, id = 'evaluateTales', cache_duration=300)
class Getter(Method):
"""
......
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