Python 2.6 is the minimum supported version now

This commit is contained in:
Berker Peksag 2016-05-30 11:01:43 -07:00
parent f722a6eb65
commit 0d00a280bd

View File

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