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/panels/profiling.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'debug_toolbar/panels') diff --git a/debug_toolbar/panels/profiling.py b/debug_toolbar/panels/profiling.py index a67c491..397069f 100644 --- a/debug_toolbar/panels/profiling.py +++ b/debug_toolbar/panels/profiling.py @@ -164,7 +164,6 @@ class ProfilingDebugPanel(DebugPanel): self._unwrap_closure_and_profile(cell.cell_contents) def process_view(self, request, view_func, view_args, view_kwargs): - __traceback_hide__ = True # noqa self.profiler = cProfile.Profile() args = (request,) + view_args if DJ_PROFILE_USE_LINE_PROFILER: @@ -190,7 +189,6 @@ class ProfilingDebugPanel(DebugPanel): self.add_node(func_list, subfunc, max_depth, cum_time=cum_time) def process_response(self, request, response): - __traceback_hide__ = True # noqa if not hasattr(self, 'profiler'): return None self.profiler.create_stats() -- cgit v1.2.3