projects
/
jinja2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40cf47c
)
[svn] fixed jinja old-style class bug
author
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 4 Apr 2007 18:56:51 +0000
(20:56 +0200)
committer
Armin Ronacher
<armin.ronacher@active-4.com>
Wed, 4 Apr 2007 18:56:51 +0000
(20:56 +0200)
--HG--
branch : trunk
jinja/environment.py
patch
|
blob
|
history
diff --git
a/jinja/environment.py
b/jinja/environment.py
index ab268da1b496ca6b0b66a6ffffb63b3f4ce17e46..600328f4cbcd3c9ae305bcb605143fa6204c3457 100644
(file)
--- a/
jinja/environment.py
+++ b/
jinja/environment.py
@@
-181,7
+181,7
@@
class Environment(object):
"""
try:
return obj[name]
- except (TypeError, KeyError, IndexError):
+ except (TypeError, KeyError, IndexError
, AttributeError
):
try:
return get_attribute(obj, name)
except (AttributeError, SecurityException):