mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Python 2.6 is the minimum supported version now
This commit is contained in:
parent
f722a6eb65
commit
0d00a280bd
@ -21,8 +21,7 @@ SUPPORTED_PLATFORMS = (
|
||||
'dragonfly',
|
||||
'linux2')
|
||||
|
||||
if sys.version_info < (2, 6) or \
|
||||
sys.platform not in SUPPORTED_PLATFORMS:
|
||||
if sys.platform not in SUPPORTED_PLATFORMS:
|
||||
raise ImportError("sendfile isn't supported on this platform")
|
||||
|
||||
_libc = ctypes.CDLL(ctypes.util.find_library("c"), use_errno=True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user