diff --git a/gunicorn/workers/workertmp.py b/gunicorn/workers/workertmp.py index 3d6af9eb..36bc97a6 100644 --- a/gunicorn/workers/workertmp.py +++ b/gunicorn/workers/workertmp.py @@ -10,10 +10,8 @@ import tempfile from gunicorn import util PLATFORM = platform.system() -if PLATFORM.startswith('CYGWIN'): - IS_CYGWIN = True -else: - IS_CYGWIN = False +IS_CYGWIN = PLATFORM.startswith('CYGWIN') + class WorkerTmp(object):