diff options
author | David Lord <davidism@gmail.com> | 2020-01-10 10:40:52 -0800 |
---|---|---|
committer | David Lord <davidism@gmail.com> | 2020-01-10 10:40:52 -0800 |
commit | bb6216ea305a06d0157f0c0d0fb8be7bb625c523 (patch) | |
tree | 221d419c2f8562a3758f468ccc7bd47b00447382 /src/jinja2/debug.py | |
parent | 04c8787155137206d58d6ee147d06482c1a8b598 (diff) | |
download | jinja2-bb6216ea305a06d0157f0c0d0fb8be7bb625c523.tar.gz |
apply flake8
Diffstat (limited to 'src/jinja2/debug.py')
-rw-r--r-- | src/jinja2/debug.py | 2 |
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 |