green.thread: use coros.Semaphore as LockType instead of coros.semaphore (the latter is a function)

This commit is contained in:
Denis Bilenko
2008-12-28 19:40:04 +06:00
parent 146986e6aa
commit 8c3c13230c

View File

@@ -3,7 +3,7 @@ from __future__ import absolute_import
import thread as thread_module
from eventlet.support import greenlet
from eventlet.api import spawn
from eventlet.coros import semaphore as LockType
from eventlet.coros import Semaphore as LockType
error = thread_module.error