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:
Christian Berendt 2014-06-08 18:30:43 +02:00
parent 60ed3d1c4a
commit 58db734051
2 changed files with 2 additions and 2 deletions

View File

@ -19,13 +19,13 @@
import base64 import base64
import copy import copy
import httplib import httplib
import Queue
import threading import threading
import time import time
import eventlet import eventlet
from oslo.config import cfg from oslo.config import cfg
from six.moves import queue as Queue
from neutron.api.v2 import attributes from neutron.api.v2 import attributes
from neutron.common import log as call_log from neutron.common import log as call_log

View File

@ -16,11 +16,11 @@
# #
# @author: Avishay Balderman, Radware # @author: Avishay Balderman, Radware
import Queue
import re import re
import contextlib import contextlib
import mock import mock
from six.moves import queue as Queue
from neutron import context from neutron import context
from neutron.extensions import loadbalancer from neutron.extensions import loadbalancer