Skip to content
Myr

Merge pull request #26 from jek/master

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

Removes some dead code from self.block lookup path

authored by Armin Ronacher · committed by Armin Ronacher · parents 20a4023, 355d96f · Browse files · 1 file+0 added−2 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+0 added−2 removed

  • other:+0 added−2 removed

1 file+0 added−2 removed

modified:jinja2/runtime.py-2 removed
73 unmodified lines
74 self.__context = context7576 def __getitem__(self, name):77 blocks = self.__context.blocks[name]78 wrap = self.__context.eval_ctx.autoescape and \79 Markup or (lambda x: x)78 return BlockReference(name, self.__context, blocks, 0)7980 def __repr__(self):81 return '<%s %r>' % (
467 unmodified lines