runtornado: Add explicit return None.

This commit is contained in:
Tim Abbott 2016-01-27 16:29:18 -08:00
parent 5f9cd4d7c8
commit 05a40f11b3
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ class AsyncDjangoHandler(tornado.web.RequestHandler, base.BaseHandler):
response = callback(request, *callback_args, **callback_kwargs)
if response is RespondAsynchronously:
async_request_stop(request)
return
return None
except Exception as e:
# If the view raised an exception, run it through exception
# middleware, and if the exception middleware returns a