summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-01-18 13:50:14 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-01-18 13:50:14 -0500
commitc4c9187c7c1b9b47e9c8c59c7107a672526b5542 (patch)
tree0cf6f27b70f3d0deb4968a20ddff15783e511f5c
parent4be2ca3ed8be8e48795f351bb47ad51c9ca1a555 (diff)
downloadmako-c4c9187c7c1b9b47e9c8c59c7107a672526b5542.tar.gz
move _load_impl down in __init__ so impls can get at things
-rw-r--r--mako/cache.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mako/cache.py b/mako/cache.py
index 4a02554..b64e94f 100644
--- a/mako/cache.py
+++ b/mako/cache.py
@@ -62,10 +62,10 @@ class Cache(object):
def __init__(self, template):
self.template = template
- self.impl = self._load_impl(self.template.cache_impl)
self.id = template.module.__name__
self.starttime = template.module._modified_time
self._def_regions = {}
+ self.impl = self._load_impl(self.template.cache_impl)
def _load_impl(self, name):
return _cache_plugins.load(name)(self)