[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/cache - __init__.py:1.4

Jim Fulton jim at zope.com
Sun Sep 21 13:32:26 EDT 2003


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

Modified Files:
	__init__.py 
Log Message:
No-longer use context wrappers.


=== Zope3/src/zope/app/interfaces/cache/__init__.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/cache/__init__.py:1.3	Tue Aug 19 13:34:17 2003
+++ Zope3/src/zope/app/interfaces/cache/__init__.py	Sun Sep 21 13:31:55 2003
@@ -18,7 +18,6 @@
 from zope.app import zapi
 from zope.app.interfaces.event import ISubscriber
 from zope.app.services.servicenames import Caching
-from zope.context import ContextProperty
 from zope.interface import Interface
 from zope.schema import TextLine
 
@@ -34,7 +33,7 @@
         else:
             return [''] + list(service.getAvailableCaches())
 
-    allowed_values = ContextProperty(__allowed)
+    allowed_values = property(__allowed)
 
 
 class ICacheable(Interface):




More information about the Zope3-Checkins mailing list