[Zope-Checkins] CVS: Zope/lib/python/Products/StandardCacheManagers - AcceleratedHTTPCacheManager.py:1.11 RAMCacheManager.py:1.10 __init__.py:1.3

Martijn Pieters mj@zope.com
Wed, 14 Aug 2002 18:25:43 -0400


Update of /cvs-repository/Zope/lib/python/Products/StandardCacheManagers
In directory cvs.zope.org:/tmp/cvs-serv27658/StandardCacheManagers

Modified Files:
	AcceleratedHTTPCacheManager.py RAMCacheManager.py __init__.py 
Log Message:
Clean up indentation and trailing whitespace.


=== Zope/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py 1.10 => 1.11 ===
--- Zope/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py:1.10	Mon Mar 11 11:08:56 2002
+++ Zope/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py	Wed Aug 14 18:25:12 2002
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 '''
 Accelerated HTTP cache manager --
@@ -138,7 +138,7 @@
     def getId(self):
         ' '
         return self.id
-        
+
     ZCacheManager_getCache__roles__ = ()
     def ZCacheManager_getCache(self):
         cacheid = self.__cacheid
@@ -181,7 +181,7 @@
         req = self.REQUEST
         sort_by = req.get('sort_by', 'anon')
         sort_reverse = int(req.get('sort_reverse', 1))
-        return sort_by, sort_reverse        
+        return sort_by, sort_reverse
 
     def getCacheReport(self):
         """


=== Zope/lib/python/Products/StandardCacheManagers/RAMCacheManager.py 1.9 => 1.10 ===
--- Zope/lib/python/Products/StandardCacheManagers/RAMCacheManager.py:1.9	Mon Mar 11 11:08:56 2002
+++ Zope/lib/python/Products/StandardCacheManagers/RAMCacheManager.py	Wed Aug 14 18:25:12 2002
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 '''
 RAM cache manager --
@@ -145,7 +145,7 @@
             else:
                 return None
         return oc
-        
+
     def countAllEntries(self):
         '''
         Returns the count of all cache entries.
@@ -296,7 +296,7 @@
         oc.hits = oc.hits + 1
         entry.access_count = entry.access_count + 1
         return entry.data
-        
+
     def ZCache_set(self, ob, data, view_name='', keywords=None,
                    mtime_func=None):
         '''
@@ -356,7 +356,7 @@
     def getId(self):
         ' '
         return self.id
-        
+
     ZCacheManager_getCache__roles__ = ()
     def ZCacheManager_getCache(self):
         cacheid = self.__cacheid
@@ -406,7 +406,7 @@
         req = self.REQUEST
         sort_by = req.get('sort_by', 'hits')
         sort_reverse = int(req.get('sort_reverse', 1))
-        return sort_by, sort_reverse        
+        return sort_by, sort_reverse
 
     def getCacheReport(self):
         """


=== Zope/lib/python/Products/StandardCacheManagers/__init__.py 1.2 => 1.3 ===
--- Zope/lib/python/Products/StandardCacheManagers/__init__.py:1.2	Wed Nov 28 10:51:08 2001
+++ Zope/lib/python/Products/StandardCacheManagers/__init__.py	Wed Aug 14 18:25:12 2002
@@ -1,14 +1,14 @@
 ##############################################################################
 #
 # Copyright (c) 2001 Zope Corporation and Contributors. All Rights Reserved.
-# 
+#
 # This software is subject to the provisions of the Zope Public License,
 # Version 2.0 (ZPL).  A copy of the ZPL should accompany this distribution.
 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
 # FOR A PARTICULAR PURPOSE
-# 
+#
 ##############################################################################
 '''
 Some standard Zope cache managers from Digital Creations.