From 902ab5dd901cc678e038ab07e24921705f6f9cca Mon Sep 17 00:00:00 2001 From: Doug Szumski Date: Fri, 27 Jul 2018 14:48:54 +0100 Subject: [PATCH] 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 --- monasca_agent/collector/checks/services_checks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monasca_agent/collector/checks/services_checks.py b/monasca_agent/collector/checks/services_checks.py index 7a72ace9..9686958e 100644 --- a/monasca_agent/collector/checks/services_checks.py +++ b/monasca_agent/collector/checks/services_checks.py @@ -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