mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Clarify concurrent.futures requirement error message
Specify which PyPI package needs to be installed in order for the gthread worker implementation to work on Python < 3.2.
This commit is contained in:
parent
44b090fa47
commit
e63df69229
@ -31,8 +31,8 @@ try:
|
|||||||
import concurrent.futures as futures
|
import concurrent.futures as futures
|
||||||
except ImportError:
|
except ImportError:
|
||||||
raise RuntimeError("""
|
raise RuntimeError("""
|
||||||
You need 'concurrent' installed to use this worker with this python
|
You need to install the 'futures' package to use this worker with this
|
||||||
version.
|
Python version.
|
||||||
""")
|
""")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user