summaryrefslogtreecommitdiff
path: root/src/jinja2/debug.py
diff options
context:
space:
mode:
authorDavid Lord <davidism@gmail.com>2020-01-10 10:40:52 -0800
committerDavid Lord <davidism@gmail.com>2020-01-10 10:40:52 -0800
commitbb6216ea305a06d0157f0c0d0fb8be7bb625c523 (patch)
tree221d419c2f8562a3758f468ccc7bd47b00447382 /src/jinja2/debug.py
parent04c8787155137206d58d6ee147d06482c1a8b598 (diff)
downloadjinja2-bb6216ea305a06d0157f0c0d0fb8be7bb625c523.tar.gz
apply flake8
Diffstat (limited to 'src/jinja2/debug.py')
-rw-r--r--src/jinja2/debug.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jinja2/debug.py b/src/jinja2/debug.py
index bb36609..d2c5a06 100644
--- a/src/jinja2/debug.py
+++ b/src/jinja2/debug.py
@@ -160,7 +160,7 @@ def fake_traceback(exc_value, tb, filename, lineno):
# the new traceback without this frame.
try:
exec(code, globals, locals)
- except:
+ except BaseException:
return sys.exc_info()[2].tb_next