From 4172e9fa7885ff16be95dc78aad044724cba6464 Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Fri, 15 Nov 2013 21:54:11 +0100 Subject: Remove stacktrace scrubbing superseded by HIDDEN_STACKTRACE_MODULES. --- debug_toolbar/utils/__init__.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'debug_toolbar/utils') diff --git a/debug_toolbar/utils/__init__.py b/debug_toolbar/utils/__init__.py index cec20ad..c94e19c 100644 --- a/debug_toolbar/utils/__init__.py +++ b/debug_toolbar/utils/__init__.py @@ -56,8 +56,6 @@ def tidy_stacktrace(stack): s_path = os.path.realpath(path) # Support hiding of frames -- used in various utilities that provide # inspection. - if '__traceback_hide__' in frame.f_locals: - continue if CONFIG['HIDE_DJANGO_SQL'] and django_path in s_path and not 'django/contrib' in s_path: continue if omit_path(s_path): -- cgit v1.2.3