]> git.ipfire.org Git - thirdparty/jinja.git/commitdiff
Fixed error message
authorArmin Ronacher <armin.ronacher@active-4.com>
Wed, 28 Dec 2016 19:23:49 +0000 (20:23 +0100)
committerArmin Ronacher <armin.ronacher@active-4.com>
Wed, 28 Dec 2016 19:23:49 +0000 (20:23 +0100)
jinja2/compiler.py

index 667fec52df225154a62ee5b0db8a9a6e88fff372..ff60b9c75979adcd0da180a44d16595de9e2cbe6 100644 (file)
@@ -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('(')