Use six library to import python queue
Due to the queue module being renamed in Python 3 we need to support both the new and the old name whilst people are still using Python 2. Story: 2003130 Task: 23251 Change-Id: I9075183e199530f1953c2cd988ec28b3d0580257
This commit is contained in:
parent
7b150fa352
commit
902ab5dd90
|
@ -13,11 +13,11 @@
|
|||
|
||||
import collections
|
||||
from concurrent import futures
|
||||
from queue import Queue
|
||||
import threading
|
||||
|
||||
import eventlet
|
||||
import multiprocessing
|
||||
from six.moves.queue import Queue
|
||||
|
||||
import monasca_agent.collector.checks
|
||||
|
||||
|
|
Loading…
Reference in New Issue