##// END OF EJS Templates
Duplicate cache when creating templater.
Shun-ichi Goto -
r1975:6e1a8ea5 default
parent child Browse files
Show More
@@ -65,7 +65,7 b' class templater(object):'
65 65 filters is dict of functions. each transforms a value into another.
66 66 defaults is dict of default map definitions.'''
67 67 self.mapfile = mapfile or 'template'
68 self.cache = cache
68 self.cache = cache.copy()
69 69 self.map = {}
70 70 self.base = (mapfile and os.path.dirname(mapfile)) or ''
71 71 self.filters = filters
General Comments 0
You need to be logged in to leave comments. Login now