uses gunicorn.selectors when python < 3.4

This commit is contained in:
benoitc 2014-10-19 09:48:38 +02:00
parent 02ca92d30a
commit 048dcf410c

View File

@ -39,13 +39,7 @@ except ImportError:
try:
from asyncio import selectors
except ImportError:
try:
from trollius import selectors
except ImportError:
raise RuntimeError("""
You need 'trollius' installed to use this worker with this python
version.
""")
from gunicorn import selectors
class TConn(object):