##// END OF EJS Templates
formatter: drop filters argument from maketemplater()...
Yuya Nishihara -
r31170:e64b70c9 default
parent child Browse files
Show More
@@ -389,10 +389,10 b' def gettemplater(ui, topic, spec):'
389 return templater.templater.frommapfile(mapfile)
389 return templater.templater.frommapfile(mapfile)
390 return maketemplater(ui, topic, tmpl)
390 return maketemplater(ui, topic, tmpl)
391
391
392 def maketemplater(ui, topic, tmpl, filters=None, cache=None):
392 def maketemplater(ui, topic, tmpl, cache=None):
393 """Create a templater from a string template 'tmpl'"""
393 """Create a templater from a string template 'tmpl'"""
394 aliases = ui.configitems('templatealias')
394 aliases = ui.configitems('templatealias')
395 t = templater.templater(filters=filters, cache=cache, aliases=aliases)
395 t = templater.templater(cache=cache, aliases=aliases)
396 if tmpl:
396 if tmpl:
397 t.cache[topic] = tmpl
397 t.cache[topic] = tmpl
398 return t
398 return t
General Comments 0
You need to be logged in to leave comments. Login now