Commit 5049f5ce authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

CacheEntry object has no attribute 'cache_duration'.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@23771 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent a0fda35a
...@@ -99,7 +99,7 @@ class CacheFactory: ...@@ -99,7 +99,7 @@ class CacheFactory:
value = cache_entry.value value = cache_entry.value
## update local cache ## update local cache
self.quick_cache.set(cache_id, scope, value, self.quick_cache.set(cache_id, scope, value,
cache_entry.cache_duration, cache_duration,
cache_entry.calculation_time) cache_entry.calculation_time)
return value return 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