From 4cb26dd0c43668a85d6ca1714d72ac587aa68d02 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Thu, 20 Aug 2009 09:44:53 +0000 Subject: [PATCH] Improve docstring git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@28483 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5Type/interfaces/cache_plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/product/ERP5Type/interfaces/cache_plugin.py b/product/ERP5Type/interfaces/cache_plugin.py index dd8095eefa..4c217d39ec 100644 --- a/product/ERP5Type/interfaces/cache_plugin.py +++ b/product/ERP5Type/interfaces/cache_plugin.py @@ -57,7 +57,7 @@ class ICachePlugin(Interface): def get(cache_id, scope, default=None): """get the calculated value according to the cache_id and scope. raise KeyError if key does not exists and no default value provided. - return CacheEntry + return CacheEntry or default """ def set(cache_id, scope, value, cache_duration=None, calculation_time=0): -- 2.30.9