[CMF-checkins] CVS: CMF/CMFCore/interfaces - CachingPolicyManager.py:1.3.18.1

Yvo Schubbe schubbe@web.de
Thu, 19 Dec 2002 17:08:52 -0500


Update of /cvs-repository/CMF/CMFCore/interfaces
In directory cvs.zope.org:/tmp/cvs-serv8280/CMFCore/interfaces

Modified Files:
      Tag: yuppie-collector096-branch
	CachingPolicyManager.py 
Log Message:
tool interface cleanup:
- added interface tests and made them pass

=== CMF/CMFCore/interfaces/CachingPolicyManager.py 1.3 => 1.3.18.1 ===
--- CMF/CMFCore/interfaces/CachingPolicyManager.py:1.3	Wed Jul  3 14:01:35 2002
+++ CMF/CMFCore/interfaces/CachingPolicyManager.py	Thu Dec 19 17:08:52 2002
@@ -10,15 +10,20 @@
 # FOR A PARTICULAR PURPOSE
 # 
 ##############################################################################
-
-"""Caching tool interface description.
+""" Caching tool interface.
 
 $Id$
 """
 
-from Interface import Attribute, Base
+from Interface import Attribute
+try:
+    from Interface import Interface
+except ImportError:
+    # for Zope versions before 2.6.0
+    from Interface import Base as Interface
+
 
-class CachingPolicyManager( Base ):
+class CachingPolicyManager(Interface):
     """
         Manage HTTP cache policies for skin methods.
     """