From 42645a5f276514fe7c65278fabaeb22675a9b642 Mon Sep 17 00:00:00 2001 From: sanj Date: Mon, 8 Feb 2010 21:00:16 +0530 Subject: [PATCH] indentation in middleware.py standardized to 4 spaces --- oxdjango/middleware.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/oxdjango/middleware.py b/oxdjango/middleware.py index 66d6be9..83e6be3 100644 --- a/oxdjango/middleware.py +++ b/oxdjango/middleware.py @@ -5,9 +5,9 @@ from shortcuts import Http404Json, render_to_json_response class ExceptionMiddleware(object): - def process_exception(self, request, exception): - if isinstance(exception, Http404Json): - return render_to_json_response(exception.response) - else: - return None + def process_exception(self, request, exception): + if isinstance(exception, Http404Json): + return render_to_json_response(exception.response) + else: + return None