From c77df25a84b31307b1f09737ef51fa867248aaf9 Mon Sep 17 00:00:00 2001 From: tomjaguarpaw Date: Tue, 1 Aug 2017 11:54:35 +0100 Subject: [PATCH] Remove redundant "is not None" in gunicorn/app/base.py (#1557) --- gunicorn/app/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gunicorn/app/base.py b/gunicorn/app/base.py index 66ac6d59..263ed8e3 100644 --- a/gunicorn/app/base.py +++ b/gunicorn/app/base.py @@ -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)