Commit 82b5d4a6 authored by Chris McDonough's avatar Chris McDonough

Changed things that use HTMLFile to DTMLFile.

parent b6b20d1a
...@@ -84,14 +84,14 @@ ...@@ -84,14 +84,14 @@
############################################################################## ##############################################################################
__doc__="""Cacheable object and cache management base classes. __doc__="""Cacheable object and cache management base classes.
$Id: Cache.py,v 1.4 2001/01/08 22:46:58 brian Exp $""" $Id: Cache.py,v 1.5 2001/01/11 20:53:14 chrism Exp $"""
__version__='$Revision: 1.4 $'[11:-2] __version__='$Revision: 1.5 $'[11:-2]
import time, sys import time, sys
from string import join from string import join
import Globals import Globals
from Globals import HTMLFile from Globals import DTMLFile
from Acquisition import aq_get, aq_acquire, aq_inner, aq_parent, aq_base from Acquisition import aq_get, aq_acquire, aq_inner, aq_parent, aq_base
from zLOG import LOG, WARNING from zLOG import LOG, WARNING
from AccessControl import getSecurityManager from AccessControl import getSecurityManager
...@@ -176,7 +176,7 @@ class Cacheable: ...@@ -176,7 +176,7 @@ class Cacheable:
), ('Manager',)), ), ('Manager',)),
) )
ZCacheable_manage = HTMLFile('dtml/cacheable', globals()) ZCacheable_manage = DTMLFile('dtml/cacheable', globals())
_v_ZCacheable_cache = None _v_ZCacheable_cache = None
_v_ZCacheable_manager_timestamp = 0 _v_ZCacheable_manager_timestamp = 0
...@@ -547,7 +547,7 @@ class CacheManager: ...@@ -547,7 +547,7 @@ class CacheManager:
global manager_timestamp global manager_timestamp
manager_timestamp = time.time() manager_timestamp = time.time()
ZCacheManager_associate = HTMLFile('dtml/cmassoc', globals()) ZCacheManager_associate = DTMLFile('dtml/cmassoc', globals())
def ZCacheManager_locate(self, require_assoc, subfolders, def ZCacheManager_locate(self, require_assoc, subfolders,
meta_types=[], REQUEST=None): meta_types=[], REQUEST=None):
......
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