Show More
@@ -410,12 +410,12 b' def runfilter(context, mapping, data):' | |||||
410 | raise error.Abort(msg) |
|
410 | raise error.Abort(msg) | |
411 |
|
411 | |||
412 | def buildmap(exp, context): |
|
412 | def buildmap(exp, context): | |
413 |
|
|
413 | darg = compileexp(exp[1], context, methods) | |
414 |
t |
|
414 | targ = gettemplate(exp[2], context) | |
415 |
return (runmap, ( |
|
415 | return (runmap, (darg, targ)) | |
416 |
|
416 | |||
417 | def runmap(context, mapping, data): |
|
417 | def runmap(context, mapping, data): | |
418 | func, data, tfunc, tdata = data |
|
418 | (func, data), (tfunc, tdata) = data | |
419 | d = func(context, mapping, data) |
|
419 | d = func(context, mapping, data) | |
420 | if util.safehasattr(d, 'itermaps'): |
|
420 | if util.safehasattr(d, 'itermaps'): | |
421 | diter = d.itermaps() |
|
421 | diter = d.itermaps() |
General Comments 0
You need to be logged in to leave comments.
Login now