Commit be6d7ca0 authored by Yoshinori Okuji's avatar Yoshinori Okuji

New method clearCache.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@1125 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9929df06
...@@ -138,3 +138,6 @@ class CachingMethod: ...@@ -138,3 +138,6 @@ class CachingMethod:
return obj.result return obj.result
allow_class(CachingMethod) allow_class(CachingMethod)
def clearCache(self):
cached_object_dict.clear()
\ No newline at end of file
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