indentation in middleware.py standardized to 4 spaces

This commit is contained in:
sanj 2010-02-08 21:00:16 +05:30
parent 5c99a88970
commit 42645a5f27

View file

@ -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