Merge pull request #750 from berkerpeksag/startswith-idiom

Remove the redundant if clause in gunicorn/workers/workertmp.py.
This commit is contained in:
Randall Leeds 2014-05-14 15:45:16 -07:00
commit 2583f58442

View File

@ -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):