Revert "check the python requirements for the gaiohttp server"

This reverts commit 4ac7e55161553503817dfbd01ccc5f263d163e69.
This commit is contained in:
benoitc 2014-06-14 12:05:00 +02:00
parent 4ac7e55161
commit 68cd2b92c8
2 changed files with 2 additions and 8 deletions

View File

@ -9,7 +9,6 @@ Changes
Core 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 #785: handle binary type address given to a client socket address
- fix graceful shutdown. make sure QUIT and TERMS signals are switched - fix graceful shutdown. make sure QUIT and TERMS signals are switched
everywhere. everywhere.

View File

@ -7,12 +7,7 @@ __all__ = ['AiohttpWorker']
import asyncio import asyncio
import functools import functools
import os import os
import sys import gunicorn.workers.base as base
from . import base
if sys.version_info < (3, 3, 0):
raise RuntimeError("Python 3.3 and later is needed to run this worker")
try: try:
from aiohttp.wsgi import WSGIServerHttpProtocol from aiohttp.wsgi import WSGIServerHttpProtocol