Remove redundant "is not None" in gunicorn/app/base.py (#1557)

This commit is contained in:
tomjaguarpaw 2017-08-01 11:54:35 +01:00 committed by Berker Peksag
parent cf401982fd
commit c77df25a84

View File

@ -143,7 +143,7 @@ class Application(BaseApplication):
cfg = self.init(parser, args, args.args)
# Load up the any app specific configuration
if cfg and cfg is not None:
if cfg:
for k, v in cfg.items():
self.cfg.set(k.lower(), v)