make coros.CoroutinePool return pool.Pool instance

This commit is contained in:
Denis Bilenko
2009-06-08 14:50:08 +07:00
parent d3168e874b
commit 533338e365

View File

@@ -449,8 +449,8 @@ def execute(func, *args, **kw):
def CoroutinePool(*args, **kwargs):
from eventlet.pools import CoroutinePool
return CoroutinePool(*args, **kwargs)
from eventlet.pool import Pool
return Pool(*args, **kwargs)
class pipe(object):