From c6d9f3683dc29b2787aa3422d09c6a49d42ea49b Mon Sep 17 00:00:00 2001 From: PandaFeeder Date: Sat, 13 May 2017 22:36:57 +0800 Subject: [PATCH] continue fixing flake8 error --- sanic/app.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/sanic/app.py b/sanic/app.py index 792b3183..d8f3472d 100644 --- a/sanic/app.py +++ b/sanic/app.py @@ -483,10 +483,10 @@ class Sanic: mounted_request_middleware = handler._request_middleware if mounted_request_middleware: response = \ - await self._handle_mounted_request_middleware( - mounted_request_middleware, request, - *args, **kwargs - ) + await self._handle_mounted_request_middleware( + mounted_request_middleware, request, + *args, **kwargs + ) # No mounted request middleware result if not response: # -------------------------------------------- # @@ -502,10 +502,10 @@ class Sanic: mounted_response_middleware = handler._response_middleware if mounted_response_middleware: response = \ - await self._handle_mounted_response_middleware( - mounted_response_middleware, request, response, - *args, **kwargs - ) + await self._handle_mounted_response_middleware( + mounted_response_middleware, request, response, + *args, **kwargs + ) except Exception as e: # -------------------------------------------- #