Skip to content
Myr

Merge pull request #961 from JulienPalard/TemplateNotFound

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

Better repr for TemplateNotFound.

authored by David Lord · committed by GitHub · parents 2e950f0, a7493f4 · 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