Ticket #17699: f_locals.patch
File f_locals.patch, 648 bytes (added by , 13 years ago) |
---|
-
django/views/debug.py
368 368 while tb is not None: 369 369 # Support for __traceback_hide__ which is used by a few libraries 370 370 # to hide internal frames. 371 if tb.tb_frame.f_locals.get('__traceback_hide__'): 371 f_locals = getattr(tb.tb_frame, 'f_locals', {}) 372 if f_locals.get('__traceback_hide__', None): 372 373 tb = tb.tb_next 373 374 continue 374 375 filename = tb.tb_frame.f_code.co_filename