Skip to content

Commit

Permalink
Automated merge with ssh://team@pocoo.org/jinja2-main
Browse files Browse the repository at this point in the history
--HG--
branch : trunk
  • Loading branch information
mitsuhiko committed Jul 12, 2008
2 parents 76f9aa4 + 968ad5a commit 80b7895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jinja2/environment.py
Expand Up @@ -313,7 +313,7 @@ def getattr(self, obj, attribute):
pass
try:
return obj[attribute]
except (TypeError, LookupError):
except (TypeError, LookupError, AttributeError):
return self.undefined(obj=obj, name=attribute)

def parse(self, source, name=None, filename=None):
Expand Down

0 comments on commit 80b7895

Please sign in to comment.