From 2f932664fd7cb482ce4b90d22de21a08b9a19d69 Mon Sep 17 00:00:00 2001 From: Berker Peksag Date: Thu, 15 May 2014 00:53:47 +0300 Subject: [PATCH] Remove the redundant if clause in gunicorn/workers/workertmp.py. --- gunicorn/workers/workertmp.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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):