Skip to content

Commit

Permalink
Semaphore import fixing
Browse files Browse the repository at this point in the history
  • Loading branch information
Sayed Mohammad Hossein Torabi committed Jul 15, 2018
1 parent 4f7c086 commit 2d2541b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bbqsql/lib/technique.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@

import gevent
from gevent.event import AsyncResult,Event
from gevent.coros import Semaphore
try:
from gevent.coros import Semaphore
except ImportError:
from gevent.lock import Semaphore

from gevent.queue import Queue
from gevent.pool import Pool

Expand Down

0 comments on commit 2d2541b

Please sign in to comment.