Merge "function always returns None"
This commit is contained in:
commit
935f21736a
@ -422,8 +422,6 @@ class Middleware(Application):
|
|||||||
@webob.dec.wsgify(RequestClass=Request)
|
@webob.dec.wsgify(RequestClass=Request)
|
||||||
def __call__(self, req):
|
def __call__(self, req):
|
||||||
response = self.process_request(req)
|
response = self.process_request(req)
|
||||||
if response:
|
|
||||||
return response
|
|
||||||
response = req.get_response(self.application)
|
response = req.get_response(self.application)
|
||||||
return self.process_response(response)
|
return self.process_response(response)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user