From: Armin Ronacher Date: Sun, 6 Jun 2010 13:14:55 +0000 (+0200) Subject: Fixed the profile.py file and removed a useless newline call X-Git-Tag: 2.5.1~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=850629f1c329e1947a43735170fcf8fb35e08cce;p=thirdparty%2Fjinja.git Fixed the profile.py file and removed a useless newline call --HG-- branch : trunk --- diff --git a/examples/profile.py b/examples/profile.py index 70f1e0d8..0c907ae3 100644 --- a/examples/profile.py +++ b/examples/profile.py @@ -12,7 +12,7 @@ context = { source = """\ % macro testmacro(x) - {{ x }} + ${x} % endmacro diff --git a/jinja2/compiler.py b/jinja2/compiler.py index 8660f8c0..57641596 100644 --- a/jinja2/compiler.py +++ b/jinja2/compiler.py @@ -1223,8 +1223,6 @@ class CodeGenerator(NodeVisitor): else: finalize = unicode - self.newline(node) - # if we are inside a frame that requires output checking, we do so outdent_later = False if frame.require_output_check: