From 4f11708542a0539290e22af6dcdbf2c9d35532f2 Mon Sep 17 00:00:00 2001 From: tomjaguarpaw Date: Sat, 22 Jul 2017 20:05:55 +0100 Subject: [PATCH] Remove redundant 'is not None' --- 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 72db6457..66ac6d59 100644 --- a/gunicorn/app/base.py +++ b/gunicorn/app/base.py @@ -193,7 +193,7 @@ class Application(BaseApplication): util.daemonize(self.cfg.enable_stdio_inheritance) # set python paths - if self.cfg.pythonpath and self.cfg.pythonpath is not None: + if self.cfg.pythonpath: paths = self.cfg.pythonpath.split(",") for path in paths: pythonpath = os.path.abspath(path)