From 68cd2b92c8d5160f02236899a86c1249fd926469 Mon Sep 17 00:00:00 2001 From: benoitc Date: Sat, 14 Jun 2014 12:05:00 +0200 Subject: [PATCH] Revert "check the python requirements for the gaiohttp server" This reverts commit 4ac7e55161553503817dfbd01ccc5f263d163e69. --- docs/source/news.rst | 3 +-- gunicorn/workers/gaiohttp.py | 7 +------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/docs/source/news.rst b/docs/source/news.rst index de246eeb..dba5c4b6 100644 --- a/docs/source/news.rst +++ b/docs/source/news.rst @@ -9,7 +9,6 @@ Changes Core ++++ -- improvement: fix #788 check the python requirements for the gaiohttp server - fix #785: handle binary type address given to a client socket address - fix graceful shutdown. make sure QUIT and TERMS signals are switched everywhere. @@ -20,7 +19,7 @@ Tornado worker - fix #783: x_headers error. The x-forwarded-headers option has been removed in `c4873681299212d6082cd9902740eef18c2f14f1 `_. The discussion is - available on `#633 `_. + available on `#633 `_. diff --git a/gunicorn/workers/gaiohttp.py b/gunicorn/workers/gaiohttp.py index 80c7bfd2..fb109591 100644 --- a/gunicorn/workers/gaiohttp.py +++ b/gunicorn/workers/gaiohttp.py @@ -7,12 +7,7 @@ __all__ = ['AiohttpWorker'] import asyncio import functools import os -import sys - -from . import base - -if sys.version_info < (3, 3, 0): - raise RuntimeError("Python 3.3 and later is needed to run this worker") +import gunicorn.workers.base as base try: from aiohttp.wsgi import WSGIServerHttpProtocol