From 850629f1c329e1947a43735170fcf8fb35e08cce Mon Sep 17 00:00:00 2001 From: Armin Ronacher Date: Sun, 6 Jun 2010 15:14:55 +0200 Subject: [PATCH] Fixed the profile.py file and removed a useless newline call --HG-- branch : trunk --- examples/profile.py | 2 +- jinja2/compiler.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/examples/profile.py b/examples/profile.py index 70f1e0d..0c907ae 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 8660f8c..5764159 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: -- 2.26.2