merge changes

This commit is contained in:
j 2010-02-09 12:20:59 +05:30
parent a551ff32a2
commit 6e0d64d972

View file

@ -8,6 +8,5 @@ class ExceptionMiddleware(object):
def process_exception(self, request, exception): def process_exception(self, request, exception):
if isinstance(exception, HttpErrorJson): if isinstance(exception, HttpErrorJson):
return render_to_json_response(exception.response) return render_to_json_response(exception.response)
else:
return None return None