aboutsummaryrefslogtreecommitdiffstats
path: root/debug_toolbar/panels/profiling.py
diff options
context:
space:
mode:
authorAymeric Augustin2013-11-15 21:54:11 +0100
committerAymeric Augustin2013-11-15 21:54:11 +0100
commit4172e9fa7885ff16be95dc78aad044724cba6464 (patch)
tree68d41b042039021b1f9a7407b0256f3a4b441c90 /debug_toolbar/panels/profiling.py
parenta5e26bcf0b6d83829a4921fb8f10bdf85727489f (diff)
downloaddjango-debug-toolbar-4172e9fa7885ff16be95dc78aad044724cba6464.tar.bz2
Remove stacktrace scrubbing superseded by HIDDEN_STACKTRACE_MODULES.
Diffstat (limited to 'debug_toolbar/panels/profiling.py')
-rw-r--r--debug_toolbar/panels/profiling.py2
1 files changed, 0 insertions, 2 deletions
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()