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
1 changed files with 5 additions and 5 deletions

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