diff options
| author | Rob Hudson | 2009-11-06 19:28:51 -0800 |
|---|---|---|
| committer | Rob Hudson | 2009-11-06 19:28:51 -0800 |
| commit | 4d1f85f49562ffeb3040b72e631f303bf905cf5e (patch) | |
| tree | f1dcebae2723334790face3995aabd850e6e5ad0 | |
| parent | 34bd73e5cdccce0d7e9cc76b033581e4fdd98ced (diff) | |
| download | django-debug-toolbar-4d1f85f49562ffeb3040b72e631f303bf905cf5e.tar.bz2 | |
Fixed incompatability with Python 2.4.
| -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({ |
