summaryrefslogtreecommitdiff
path: root/django/views
diff options
context:
space:
mode:
authorAdrian Holovaty <adrian@holovaty.com>2008-07-22 03:26:25 +0000
committerAdrian Holovaty <adrian@holovaty.com>2008-07-22 03:26:25 +0000
commit0894ddb2bbb706ca8b9918df42dfd8a3fa4dbc69 (patch)
treec5b80abe45e92f8be8317b42232bc4d5b5facd82 /django/views
parent29f0e8182f49e2927ae46e748d09d0672d4fc127 (diff)
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
Diffstat (limited to 'django/views')
-rw-r--r--django/views/debug.py2
1 files changed, 0 insertions, 2 deletions
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):
"""