From 311b0b08a03bbcc03ce74c2b1959de8e26eccdb0 Mon Sep 17 00:00:00 2001
From: Bastian Kleineidam <calvin@debian.org>
Date: Fri, 25 Jan 2008 21:35:43 +0100
Subject: Don't hide SystemExit in base request handler
Signed-off-by: Bastian Kleineidam <calvin@debian.org>
diff --git a/django/core/handlers/base.py b/django/core/handlers/base.py
index 17a24d6..7cef2a8 100644
a
|
b
|
class BaseHandler(object):
|
109 | 109 | except exceptions.PermissionDenied: |
110 | 110 | return http.HttpResponseForbidden('<h1>Permission denied</h1>') |
111 | 111 | except SystemExit: |
112 | | pass # See http://code.djangoproject.com/ticket/1023 |
| 112 | # See http://code.djangoproject.com/ticket/1023 |
| 113 | # and http://code.djangoproject.com/ticket/4701 |
| 114 | raise |
113 | 115 | except: # Handle everything else, including SuspiciousOperation, etc. |
114 | 116 | if settings.DEBUG: |
115 | 117 | from django.views import debug |