aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/utils
diff options
context:
space:
mode:
authorAymeric Augustin2013-10-16 22:43:30 +0200
committerAymeric Augustin2013-10-17 18:24:57 +0200
commit820161dea57316e177f0bf05741fd510f53df5d3 (patch)
tree90f7aad68198885fbe7694d972b002f63220777e /debug_toolbar/utils
parenta5d97931033a142a65d6ccdd06b5d345f535513d (diff)
downloaddjango-debug-toolbar-820161dea57316e177f0bf05741fd510f53df5d3.tar.bz2
Avoid naked except clauses.
Diffstat (limited to 'debug_toolbar/utils')
-rw-r--r--debug_toolbar/utils/tracking/db.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug_toolbar/utils/tracking/db.py b/debug_toolbar/utils/tracking/db.py
index 8c728b4..a9c36dc 100644
--- a/debug_toolbar/utils/tracking/db.py
+++ b/debug_toolbar/utils/tracking/db.py
@@ -119,7 +119,7 @@ class NormalCursorWrapper(object):
template_info = get_template_info(node.source)
break
cur_frame = cur_frame.f_back
- except:
+ except Exception:
pass
del cur_frame