Skip to content
Myr

Removed unnecessary runtime check. Our 2to3 fixer fixes that

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

automatically now. --HG-- branch : trunk

authored by Armin Ronacher · committed by Armin Ronacher · parent 0430679 · Browse files · 1 file+1 added−7 removed
This commit

State

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

Diff stats

1 file+1 added−7 removed

  • other:+1 added−7 removed

1 file+1 added−7 removed

modified:jinja2/defaults.py+1 added-7 removed
22 unmodified lines
23TRIM_BLOCKS = False24NEWLINE_SEQUENCE = '\n'252627try:28 range_func = xrange29except NameError:30 range_func = range313227# default filters, tests and namespace28from jinja2.filters import FILTERS as DEFAULT_FILTERS29from jinja2.tests import TESTS as DEFAULT_TESTS30DEFAULT_NAMESPACE = {37 'range': range_func,31 'range': xrange,32 'dict': lambda **kw: kw,33 'lipsum': generate_lorem_ipsum,34 'cycler': Cycler,35 'joiner': Joiner
5 unmodified lines