From 048dcf410c5478d73f860f1deae155b0ae7928cd Mon Sep 17 00:00:00 2001 From: benoitc Date: Sun, 19 Oct 2014 09:48:38 +0200 Subject: [PATCH] uses gunicorn.selectors when python < 3.4 --- gunicorn/workers/gthread.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gunicorn/workers/gthread.py b/gunicorn/workers/gthread.py index 09255d6c..d1fa1fbf 100644 --- a/gunicorn/workers/gthread.py +++ b/gunicorn/workers/gthread.py @@ -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):