diff options
Diffstat (limited to 'debug_toolbar')
| -rw-r--r-- | debug_toolbar/panels/sql.py | 3 | 
1 files changed, 1 insertions, 2 deletions
| diff --git a/debug_toolbar/panels/sql.py b/debug_toolbar/panels/sql.py index ce43328..7a8fa65 100644 --- a/debug_toolbar/panels/sql.py +++ b/debug_toolbar/panels/sql.py @@ -110,8 +110,7 @@ class DatabaseStatTracker(util.CursorDebugWrapper):                      cur_frame = cur_frame.f_back              except:                  pass -            finally: -                del cur_frame +            del cur_frame              # We keep `sql` to maintain backwards compatibility              self.db.queries.append({ | 
