Remove redundant "is not None" in gunicorn/app/wsgiapp.py (#1558)

This commit is contained in:
tomjaguarpaw 2017-08-01 11:56:49 +01:00 committed by Berker Peksag
parent c77df25a84
commit fc1e7a8262

View File

@ -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: