Show More
@@ -427,9 +427,10 def runfilter(context, mapping, data): | |||
|
427 | 427 | sym = findsymbolicname(arg) |
|
428 | 428 | if sym: |
|
429 | 429 | msg = (_("template filter '%s' is not compatible with keyword '%s'") |
|
430 |
% (filt.__name__ |
|
|
430 | % (pycompat.sysbytes(filt.__name__), sym)) | |
|
431 | 431 | else: |
|
432 |
msg = _("incompatible use of template filter '%s'") |
|
|
432 | msg = (_("incompatible use of template filter '%s'") | |
|
433 | % pycompat.sysbytes(filt.__name__)) | |
|
433 | 434 | raise error.Abort(msg) |
|
434 | 435 | |
|
435 | 436 | def buildmap(exp, context): |
General Comments 0
You need to be logged in to leave comments.
Login now