mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Merge pull request #750 from berkerpeksag/startswith-idiom
Remove the redundant if clause in gunicorn/workers/workertmp.py.
This commit is contained in:
commit
2583f58442
@ -10,10 +10,8 @@ import tempfile
|
|||||||
from gunicorn import util
|
from gunicorn import util
|
||||||
|
|
||||||
PLATFORM = platform.system()
|
PLATFORM = platform.system()
|
||||||
if PLATFORM.startswith('CYGWIN'):
|
IS_CYGWIN = PLATFORM.startswith('CYGWIN')
|
||||||
IS_CYGWIN = True
|
|
||||||
else:
|
|
||||||
IS_CYGWIN = False
|
|
||||||
|
|
||||||
class WorkerTmp(object):
|
class WorkerTmp(object):
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user