Use import from six.moves to import the queue module
The name of the synchronized queue class is queue instead of Queue in Python3. Change-Id: I5c5aba89b30b311bbfba2b64c61ea566d339b7c9 Closes-Bug: #1327975
This commit is contained in:
parent
60ed3d1c4a
commit
58db734051
@ -19,13 +19,13 @@
|
||||
import base64
|
||||
import copy
|
||||
import httplib
|
||||
import Queue
|
||||
import threading
|
||||
import time
|
||||
|
||||
|
||||
import eventlet
|
||||
from oslo.config import cfg
|
||||
from six.moves import queue as Queue
|
||||
|
||||
from neutron.api.v2 import attributes
|
||||
from neutron.common import log as call_log
|
||||
|
@ -16,11 +16,11 @@
|
||||
#
|
||||
# @author: Avishay Balderman, Radware
|
||||
|
||||
import Queue
|
||||
import re
|
||||
|
||||
import contextlib
|
||||
import mock
|
||||
from six.moves import queue as Queue
|
||||
|
||||
from neutron import context
|
||||
from neutron.extensions import loadbalancer
|
||||
|
Loading…
Reference in New Issue
Block a user