From fc1e7a8262d04e6f207cf4374c7e44c5200fdcb5 Mon Sep 17 00:00:00 2001 From: tomjaguarpaw Date: Tue, 1 Aug 2017 11:56:49 +0100 Subject: [PATCH] Remove redundant "is not None" in gunicorn/app/wsgiapp.py (#1558) --- gunicorn/app/wsgiapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/app/wsgiapp.py b/gunicorn/app/wsgiapp.py index aeb15bbc..190086e3 100644 --- a/gunicorn/app/wsgiapp.py +++ b/gunicorn/app/wsgiapp.py @@ -13,7 +13,7 @@ from gunicorn import util class WSGIApplication(Application): def init(self, parser, opts, args): - if opts.paste and opts.paste is not None: + if opts.paste: app_name = 'main' path = opts.paste if '#' in path: