Update gevent wsgi

gevent.wsgi is deprecated since gevent 1.1 and removed in gevent 1.3. 
gevent.pywsgi should be used instead
This commit is contained in:
Tiago Coutinho 2018-05-21 08:10:16 +02:00 committed by GitHub
parent b7d050b3b1
commit 669cd2fdda

View file

@ -50,7 +50,7 @@ Gevent
`greenlet`_ to provide a high-level synchronous API on top of `libev`_
event loop::
from gevent.wsgi import WSGIServer
from gevent.pywsgi import WSGIServer
from yourapplication import app
http_server = WSGIServer(('', 5000), app)