mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-06 13:11:15 -07:00
Update mako to 1.1.2
This commit is contained in:
parent
843a400b2d
commit
4564623884
27 changed files with 53 additions and 112 deletions
|
@ -1,5 +1,5 @@
|
|||
# mako/exceptions.py
|
||||
# Copyright 2006-2019 the Mako authors and contributors <see AUTHORS file>
|
||||
# Copyright 2006-2020 the Mako authors and contributors <see AUTHORS file>
|
||||
#
|
||||
# This module is part of Mako and is released under
|
||||
# the MIT License: http://www.opensource.org/licenses/mit-license.php
|
||||
|
@ -166,9 +166,7 @@ class RichTraceback(object):
|
|||
module_source = info.code
|
||||
template_source = info.source
|
||||
template_filename = (
|
||||
info.template_filename
|
||||
or info.template_uri
|
||||
or filename
|
||||
info.template_filename or info.template_uri or filename
|
||||
)
|
||||
except KeyError:
|
||||
# A normal .py file (not a Template)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue