Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request pycassa#134 from bbangert/master
Use gevent Queue when gevent monkey-patching is used.
  • Loading branch information
thobbs committed Apr 24, 2012
2 parents 9113e2a + e941058 commit 78d1a97
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion pycassa/pool.py
Expand Up @@ -4,7 +4,12 @@
import threading
import random
import socket
import Queue
import sys

if 'gevent.monkey' in sys.modules:
from gevent import queue as Queue
else:
import Queue

from thrift import Thrift
from connection import Connection
Expand Down

0 comments on commit 78d1a97

Please sign in to comment.