Merge "function always returns None"

This commit is contained in:
Jenkins 2017-08-10 07:33:16 +00:00 committed by Gerrit Code Review
commit 935f21736a

View File

@ -422,8 +422,6 @@ class Middleware(Application):
@webob.dec.wsgify(RequestClass=Request)
def __call__(self, req):
response = self.process_request(req)
if response:
return response
response = req.get_response(self.application)
return self.process_response(response)