Show More
@@ -252,6 +252,9 def buildfilter(exp, context): | |||
|
252 | 252 | if n in context._filters: |
|
253 | 253 | filt = context._filters[n] |
|
254 | 254 | return (runfilter, (func, data, filt)) |
|
255 | if n in funcs: | |
|
256 | f = funcs[n] | |
|
257 | return (f, [(func, data)]) | |
|
255 | 258 | raise error.ParseError(_("unknown function '%s'") % n) |
|
256 | 259 | |
|
257 | 260 | def runfilter(context, mapping, data): |
General Comments 0
You need to be logged in to leave comments.
Login now