From fc3230e5b5e3a0083bcc4e4f8f6198b134c27199 Mon Sep 17 00:00:00 2001 From: helmutm Date: Tue, 30 Mar 2010 13:35:42 +0000 Subject: [PATCH] add utility for caching values in the request git-svn-id: svn://svn.cy55.de/Zope3/src/cybertools/trunk@3793 fd906abe-77d9-0310-91a1-e0d9ade77398 --- zutil/rcache.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zutil/rcache.py b/zutil/rcache.py index f6351fd..d357da2 100644 --- a/zutil/rcache.py +++ b/zutil/rcache.py @@ -28,7 +28,7 @@ INVALID = object() def caching(self, method, id): annot = self.request.annotations - item = annot.setdefault('cybertools.util.rcache', {}) + item = annot.setdefault('cybertools.zutil.rcache', {}) value = item.get(id, INVALID) if value is INVALID: value = method()