[Zope3-checkins] CVS: Zope3/src/zope/app/browser/cache - cacheable.py:1.10.28.1

Garrett Smith garrett at mojave-corp.com
Thu Feb 26 00:11:17 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/browser/cache
In directory cvs.zope.org:/tmp/cvs-serv25181/src/zope/app/browser/cache

Modified Files:
      Tag: garrett-widgets2-branch
	cacheable.py 
Log Message:
Yet another branch for widgets refactoring (YABFWR).


=== Zope3/src/zope/app/browser/cache/cacheable.py 1.10 => 1.10.28.1 ===
--- Zope3/src/zope/app/browser/cache/cacheable.py:1.10	Sun Sep 21 13:30:21 2003
+++ Zope3/src/zope/app/browser/cache/cacheable.py	Thu Feb 26 00:10:46 2004
@@ -34,7 +34,7 @@
     def __init__(self, *args):
         super(CacheableView, self).__init__(*args)
         self.cacheable = zapi.getAdapter(self.context, ICacheable)
-        setUpEditWidgets(self, ICacheable, self.cacheable)
+        setUpEditWidgets(self, ICacheable, context=self.cacheable)
 
     def current_cache_id(self):
         "Returns the current cache ID."




More information about the Zope3-Checkins mailing list