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