[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/cache - cache.py:1.1.2.2

Guido van Rossum guido@python.org
Mon, 23 Dec 2002 18:12:12 -0500


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

Modified Files:
      Tag: NameGeddon-branch
	cache.py 
Log Message:
Cleanup.


=== Zope3/src/zope/app/interfaces/cache/cache.py 1.1.2.1 => 1.1.2.2 ===
--- Zope3/src/zope/app/interfaces/cache/cache.py:1.1.2.1	Mon Dec 23 14:31:45 2002
+++ Zope3/src/zope/app/interfaces/cache/cache.py	Mon Dec 23 18:12:11 2002
@@ -11,16 +11,17 @@
 # FOR A PARTICULAR PURPOSE.
 # 
 ##############################################################################
-"""
+"""Interfaces for cache manager.
+
 $Id$
 """
 from zope.interface import Interface
 from zope.component import getService
 from zope.component.exceptions import ComponentLookupError
 from zope.proxy.context import ContextProperty
-import zope.schema
+from zope.schema import TextLine
 
-class CacheName(Zope.Schema.TextLine):
+class CacheName(TextLine):
     """Cache Name"""
 
     def __allowed(self):
@@ -49,11 +50,6 @@
         """Sets the associated cache manager ID."""
 
 
-"""
-$Id$
-"""
-from zope.interface import Interface
-
 class ICachingService(Interface):
 
     def getCache(name):
@@ -66,14 +62,6 @@
         """Returns a list of names of cache objects known to this caching service."""
 
 
-
-
-
-"""
-$Id$
-"""
-from zope.interface import Interface
-
 class ICache(Interface):
     """Interface for caches."""
 
@@ -98,4 +86,3 @@
 
     def set(data, ob, key=None):
         """Stores the result of executing an operation."""
-