Skip to content
Myr

Fixed the profile.py file and removed a useless newline call

Before adoption: this commit came in with the history the project adopted, so no landing records it.

--HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent b480418 · Browse files · 2 files+1 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+1 added−3 removed

  • other:+1 added−3 removed

2 files+1 added−3 removed

modified:examples/profile.py+1 added-1 removed
10 unmodified lines
11}1213source = """\14% macro testmacro(x)15 <span>{{ x }}</span>15 <span>${x}</span>16% endmacro17<!doctype html>18<html>19 <head>
33 unmodified lines
modified:jinja2/compiler.py-2 removed
1221 unmodified lines
1222 finalize = lambda x: unicode(self.environment.finalize(x))1223 else:1224 finalize = unicode12251226 self.newline(node)12271226 # if we are inside a frame that requires output checking, we do so1227 outdent_later = False1228 if frame.require_output_check:1229 self.writeline('if parent_template is None:')
411 unmodified lines