coros: fix to use absolute import in CoroutinePool
This commit is contained in:
@@ -449,7 +449,7 @@ def execute(func, *args, **kw):
|
|||||||
|
|
||||||
|
|
||||||
def CoroutinePool(*args, **kwargs):
|
def CoroutinePool(*args, **kwargs):
|
||||||
from pools import CoroutinePool
|
from eventlet.pools import CoroutinePool
|
||||||
return CoroutinePool(*args, **kwargs)
|
return CoroutinePool(*args, **kwargs)
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user