Show More
@@ -90,7 +90,7 b' def batchable(f):' | |||||
90 | if not encresref: |
|
90 | if not encresref: | |
91 | return encargsorres # a local result in this case |
|
91 | return encargsorres # a local result in this case | |
92 | self = args[0] |
|
92 | self = args[0] | |
93 |
encresref.set(self._submitone(f. |
|
93 | encresref.set(self._submitone(f.__name__, encargsorres)) | |
94 | return next(batchable) |
|
94 | return next(batchable) | |
95 | setattr(plain, 'batchable', f) |
|
95 | setattr(plain, 'batchable', f) | |
96 | return plain |
|
96 | return plain |
@@ -427,9 +427,9 b' def runfilter(context, mapping, data):' | |||||
427 | sym = findsymbolicname(arg) |
|
427 | sym = findsymbolicname(arg) | |
428 | if sym: |
|
428 | if sym: | |
429 | msg = (_("template filter '%s' is not compatible with keyword '%s'") |
|
429 | msg = (_("template filter '%s' is not compatible with keyword '%s'") | |
430 |
% (filt. |
|
430 | % (filt.__name__, sym)) | |
431 | else: |
|
431 | else: | |
432 |
msg = _("incompatible use of template filter '%s'") % filt. |
|
432 | msg = _("incompatible use of template filter '%s'") % filt.__name__ | |
433 | raise error.Abort(msg) |
|
433 | raise error.Abort(msg) | |
434 |
|
434 | |||
435 | def buildmap(exp, context): |
|
435 | def buildmap(exp, context): |
General Comments 0
You need to be logged in to leave comments.
Login now