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: try:
from asyncio import selectors from asyncio import selectors
except ImportError: except ImportError:
try: from gunicorn import selectors
from trollius import selectors
except ImportError:
raise RuntimeError("""
You need 'trollius' installed to use this worker with this python
version.
""")
class TConn(object): class TConn(object):