function always returns None
Removed if respone: Change-Id: Ice35d1517747c40594e9c54f658f13669719c713 Closes-Bug: #1680702
This commit is contained in:
parent
fe7ca77a47
commit
5a351d0a02
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user