Removed template_cache attribute from cached template loader.
Unused since
@@ -14,7 +14,6 @@ from .base import Loader as BaseLoader
class Loader(BaseLoader):
def __init__(self, engine, loaders):
- self.template_cache = {}
self.get_template_cache = {}
self.loaders = engine.get_template_loaders(loaders)
super().__init__(engine)
@@ -90,5 +89,4 @@ class Loader(BaseLoader):
def reset(self):
"Empty the template cache."
- self.template_cache.clear()
self.get_template_cache.clear()
