Updated queues
This commit is contained in:
parent
584ea0f6a0
commit
21691de95d
|
@ -8,7 +8,13 @@ from six.moves import queue
|
||||||
try:
|
try:
|
||||||
from multiqueue import MultiQueue
|
from multiqueue import MultiQueue
|
||||||
except ImportError:
|
except ImportError:
|
||||||
from .multiqueue import MultiQueue
|
try:
|
||||||
|
from .multiqueue import MultiQueue
|
||||||
|
except ImportError:
|
||||||
|
import sys
|
||||||
|
if 'bitmessagemock' not in sys.modules:
|
||||||
|
raise
|
||||||
|
MultiQueue = queue.Queue
|
||||||
|
|
||||||
|
|
||||||
class ObjectProcessorQueue(queue.Queue):
|
class ObjectProcessorQueue(queue.Queue):
|
||||||
|
|
Reference in New Issue
Block a user