From: Armin Ronacher Date: Wed, 28 Dec 2016 19:23:49 +0000 (+0100) Subject: Fixed error message X-Git-Tag: 2.9~63 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=48baa10f1e018691c23ab9441be0e1b06faf6731;p=thirdparty%2Fjinja.git Fixed error message --- diff --git a/jinja2/compiler.py b/jinja2/compiler.py index 667fec52..ff60b9c7 100644 --- a/jinja2/compiler.py +++ b/jinja2/compiler.py @@ -1145,7 +1145,7 @@ class CodeGenerator(NodeVisitor): # "outer frame". if extended_loop and node.test is not None: if self.environment._async: - self.fail('loop filters in async mode are currently if the ' + self.fail('loop filters in async mode are unavailable if the ' 'loop uses the special "loop" variable or is ' 'recursive.', node.lineno) self.write('(')