Skip to content
Myr

[svn] fixed jinja old-style class bug

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 40cf47c · Browse files · 1 file+1 added−1 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−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:jinja/environment.py+1 added-1 removed
179 unmodified lines
180 Get one attribute from an object.181 """182 try:183 return obj[name]184 except (TypeError, KeyError, IndexError):184 except (TypeError, KeyError, IndexError, AttributeError):185 try:186 return get_attribute(obj, name)187 except (AttributeError, SecurityException):188 pass
55 unmodified lines