##// END OF EJS Templates
templater: do not pre-evaluate generator keyword at runsymbol (issue4868)...
Yuya Nishihara -
r26535:d3712209 stable
parent child Browse files
Show More
@@ -227,8 +227,6 b' def runsymbol(context, mapping, key):'
227 v = ''
227 v = ''
228 if callable(v):
228 if callable(v):
229 return v(**mapping)
229 return v(**mapping)
230 if isinstance(v, types.GeneratorType):
231 v = list(v)
232 return v
230 return v
233
231
234 def buildtemplate(exp, context):
232 def buildtemplate(exp, context):
General Comments 0
You need to be logged in to leave comments. Login now