From 6e0d64d972e24369514e902deaa01f90b850b59b Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Tue, 9 Feb 2010 12:20:59 +0530 Subject: [PATCH] merge changes --- oxdjango/middleware.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/oxdjango/middleware.py b/oxdjango/middleware.py index 2988e0c..8c95b3e 100644 --- a/oxdjango/middleware.py +++ b/oxdjango/middleware.py @@ -8,6 +8,5 @@ class ExceptionMiddleware(object): def process_exception(self, request, exception): if isinstance(exception, HttpErrorJson): return render_to_json_response(exception.response) - else: - return None + return None