gevent: patch_all() instead of patch_all(httplib=True)
This commit is contained in:
parent
ddc08d6fba
commit
d307c2e084
2 changed files with 2 additions and 2 deletions
|
|
@ -16,7 +16,7 @@ from __future__ import print_function
|
||||||
|
|
||||||
from gevent.pywsgi import WSGIServer
|
from gevent.pywsgi import WSGIServer
|
||||||
from gevent.monkey import patch_all
|
from gevent.monkey import patch_all
|
||||||
patch_all(httplib=True)
|
patch_all()
|
||||||
|
|
||||||
# pylint: disable=wrong-import-position,wrong-import-order
|
# pylint: disable=wrong-import-position,wrong-import-order
|
||||||
import sys
|
import sys
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
from gevent.pywsgi import WSGIServer
|
from gevent.pywsgi import WSGIServer
|
||||||
from gevent.monkey import patch_all
|
from gevent.monkey import patch_all
|
||||||
patch_all(httplib=True)
|
patch_all()
|
||||||
|
|
||||||
# pylint: disable=wrong-import-position,wrong-import-order
|
# pylint: disable=wrong-import-position,wrong-import-order
|
||||||
import sys
|
import sys
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue