[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/CachingService - CachingService.py:1.6

Steve Alexander steve@cat-box.net
Wed, 18 Dec 2002 12:32:27 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/CachingService
In directory cvs.zope.org:/tmp/cvs-serv32242

Modified Files:
	CachingService.py 
Log Message:
tidied up formatting


=== Zope3/lib/python/Zope/App/OFS/Services/CachingService/CachingService.py 1.5 => 1.6 ===
--- Zope3/lib/python/Zope/App/OFS/Services/CachingService/CachingService.py:1.5	Fri Dec 13 15:09:42 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/CachingService/CachingService.py	Wed Dec 18 12:32:26 2002
@@ -33,7 +33,8 @@
 
 class CachingService(ProtoServiceEventChannel, NameConfigurable):
 
-    __implements__ = ILocalCachingService, ProtoServiceEventChannel.__implements__
+    __implements__ = (ILocalCachingService,
+                      ProtoServiceEventChannel.__implements__)
 
     _subscribeToServiceInterface = IObjectModifiedEvent
 
@@ -51,7 +52,6 @@
         if service is not None:
             return service.getCache(name)
         raise KeyError, name
-
     getCache = ContextMethod(getCache)
 
     def queryCache(self, name, default=None):
@@ -60,7 +60,6 @@
             return self.getCache(name)
         except KeyError:
             return default
-
     queryCache = ContextMethod(queryCache)
 
     def getAvailableCaches(self):
@@ -75,6 +74,5 @@
             for name in service.getAvailableCaches():
                 caches[name] = 0
         return caches.keys()
-
     getAvailableCaches = ContextMethod(getAvailableCaches)