Skip to content
Myr

Added missing method for template errors

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

authored by Armin Ronacher · committed by Armin Ronacher · parent a4a245c · Browse files · 1 file+2 added−0 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+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:jinja2/exceptions.py+2 added
25 unmodified lines
26 message = self.args[0]27 if message is not None:28 return message.decode('utf-8', 'replace')2930 def __unicode__(self):31 return self.message or u''32 else:33 def __init__(self, message=None):34 Exception.__init__(self, message)35
111 unmodified lines