Skip to content
Myr

Better repr for TemplateNotFound.

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

authored by Julien Palard · committed by Julien Palard · parent 7e417c5 · 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:jinja2/exceptions.py+1 added-1 removed
48 unmodified lines
49 # bogusly warns us about message being deprecated50 message = None5152 def __init__(self, name, message=None):53 IOError.__init__(self)53 IOError.__init__(self, name)54 if message is None:55 message = name56 self.message = message57 self.name = name
89 unmodified lines