From 5a351d0a0276dd12baca93b02946adf22e0a119e Mon Sep 17 00:00:00 2001 From: Kiran_totad Date: Tue, 11 Jul 2017 15:42:56 +0530 Subject: [PATCH] function always returns None Removed if respone: Change-Id: Ice35d1517747c40594e9c54f658f13669719c713 Closes-Bug: #1680702 --- meteos/wsgi.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/meteos/wsgi.py b/meteos/wsgi.py index e75cf3a..67b9364 100644 --- a/meteos/wsgi.py +++ b/meteos/wsgi.py @@ -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)