Commit 2714c5ce authored by Shane Hathaway's avatar Shane Hathaway

Resolved an ambiguous method name.

parent 5e8b4cab
...@@ -84,9 +84,9 @@ ...@@ -84,9 +84,9 @@
############################################################################## ##############################################################################
__doc__="""Cacheable object and cache management base classes. __doc__="""Cacheable object and cache management base classes.
$Id: Cache.py,v 1.2 2000/12/12 21:20:26 shane Exp $""" $Id: Cache.py,v 1.3 2000/12/13 16:20:15 shane Exp $"""
__version__='$Revision: 1.2 $'[11:-2] __version__='$Revision: 1.3 $'[11:-2]
import time, sys import time, sys
from string import join from string import join
...@@ -218,13 +218,13 @@ class Cacheable: ...@@ -218,13 +218,13 @@ class Cacheable:
self._v_ZCacheable_manager_timestamp = manager_timestamp self._v_ZCacheable_manager_timestamp = manager_timestamp
return c return c
ZCacheable_isEnabled__roles__ = () ZCacheable_isCachingEnabled__roles__ = ()
def ZCacheable_isEnabled(self): def ZCacheable_isCachingEnabled(self):
''' '''
Returns true only if associated with a cache manager and Returns true only if associated with a cache manager and
caching of this method is enabled. caching of this method is enabled.
''' '''
return self.ZCacheable_getCache() and self.__enabled return self.__enabled and self.ZCacheable_getCache()
def ZCacheable_isAMethod(self): def ZCacheable_isAMethod(self):
''' '''
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment