[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Caching/RAMCache - RAMCache.py:1.3

Steve Alexander steve@cat-box.net
Wed, 13 Nov 2002 10:16:41 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/Caching/RAMCache
In directory cvs.zope.org:/tmp/cvs-serv12091/lib/python/Zope/App/Caching/RAMCache

Modified Files:
	RAMCache.py 
Log Message:
Hopefully this fixes the recent bugs in the automatic test-runs on
windows.
See the new test code for why.

SteveA + Marius


=== Zope3/lib/python/Zope/App/Caching/RAMCache/RAMCache.py 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/Caching/RAMCache/RAMCache.py:1.2	Mon Nov 11 09:26:56 2002
+++ Zope3/lib/python/Zope/App/Caching/RAMCache/RAMCache.py	Wed Nov 13 10:16:41 2002
@@ -138,7 +138,7 @@
             if not caches.has_key(cacheId):
                 caches[cacheId] = Storage(self.maxEntries, self.maxAge,
                                           self.cleanupInterval)
-                self._v_storage = caches[cacheId]
+            self._v_storage = caches[cacheId]
         finally:
             writelock.release()
         return self._v_storage