[Zope3-checkins] CVS: Zope3/src/zope/app/cache - ram.py:1.10

Naveen P pnaveen at zeomega.com
Thu Dec 18 04:57:42 EST 2003


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

Modified Files:
	ram.py 
Log Message:
Applied the containment constraints on the PluggableAuthorisationService, PrincipalSource, Registration Manager and Adapter Registration.


=== Zope3/src/zope/app/cache/ram.py 1.9 => 1.10 ===
--- Zope3/src/zope/app/cache/ram.py:1.9	Sun Sep 21 13:31:17 2003
+++ Zope3/src/zope/app/cache/ram.py	Thu Dec 18 04:57:09 2003
@@ -20,6 +20,7 @@
 from pickle import dumps
 from persistence import Persistent
 from zope.app import zapi
+from zope.app.container.contained import Contained
 from zope.app.interfaces.cache.ram import IRAMCache
 from zope.app.interfaces.cache import ICache
 from zope.app.interfaces.event import IObjectModifiedEvent
@@ -35,7 +36,7 @@
 cache_id_counter = 0
 cache_id_writelock = allocate_lock()
 
-class RAMCache(Persistent):
+class RAMCache(Persistent, Contained):
     """RAM Cache
 
     The design of this class is heavily based on RAMCacheManager in




More information about the Zope3-Checkins mailing list