[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser - RAMCacheView.py:1.2 edit.pt:1.2

Albertas Agejevas alga@codeworks.lt
Mon, 25 Nov 2002 08:48:37 -0500


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

Modified Files:
	RAMCacheView.py edit.pt 
Log Message:
Cleaned up the RAMCache.

Removed all the references to Request from RAMCache, removed 'view' parameters
from the ICache interface.


=== Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser/RAMCacheView.py 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser/RAMCacheView.py:1.1	Thu Oct 31 11:01:40 2002
+++ Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser/RAMCacheView.py	Mon Nov 25 08:48:06 2002
@@ -23,8 +23,6 @@
 
     __used_for__ = IRAMCache
 
-    def action(self, request_vars=None, maxEntries=None, maxAge=None,
-               cleanupInterval=None):
-        self.context.update(request_vars, maxEntries, maxAge,
-                            cleanupInterval)
+    def action(self, maxEntries=None, maxAge=None, cleanupInterval=None):
+        self.context.update(maxEntries, maxAge, cleanupInterval)
         self.request.response.redirect('.')


=== Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser/edit.pt 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser/edit.pt:1.1	Thu Oct 31 11:01:40 2002
+++ Zope3/lib/python/Zope/App/Caching/RAMCache/Views/Browser/edit.pt	Mon Nov 25 08:48:06 2002
@@ -17,14 +17,6 @@
     <form action="./" method="post" enctype="multipart/form-data">
       <table class="EditTable">
         <tr>
-          <th class="EditAttributeName">Request variables</th>
-          <td class="EditAttributeValue">
-            <textarea name="requestVars:lines"   
-	              tal:content="python:'\n'.join(context.requestVars)"/>
-            
-          </td>
-        </tr>
-        <tr>
           <th class="EditAttributeName">Maximum cached entries</th>
           <td class="EditAttributeValue">
             <input type="text" name="maxEntries:int"