From 0894ddb2bbb706ca8b9918df42dfd8a3fa4dbc69 Mon Sep 17 00:00:00 2001 From: Adrian Holovaty Date: Tue, 22 Jul 2008 03:26:25 +0000 Subject: Fixed #7848 -- Removed a bunch of code that wasn't contributing to society. Thanks, julien git-svn-id: http://code.djangoproject.com/svn/django/trunk@8047 bcc190cf-cafb-0310-a4f2-bffc1f526a37 --- django/views/debug.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'django/views/debug.py') diff --git a/django/views/debug.py b/django/views/debug.py index 380aa8bf06..adc1ae936e 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -145,8 +145,6 @@ class ExceptionReporter: 'line': line, 'name': origin.name, } - if hasattr(self.exc_value, 'exc_info') and self.exc_value.exc_info: - exc_type, exc_value, tb = self.exc_value.exc_info def _get_lines_from_file(self, filename, lineno, context_lines, loader=None, module_name=None): """ -- cgit v1.3