From 7109a8d64a83ba8cce748e6054354832ebba68f4 Mon Sep 17 00:00:00 2001 From: Al Bailey Date: Wed, 21 Nov 2018 15:56:28 -0600 Subject: [PATCH] Update Queue to use python3 compatible code This code has zero impact on python2 ex: import Queue print Queue from six.moves import queue as Queue print Queue Story: 2004241 Task: 28039 Change-Id: I9d4949b62803544f38202e422a9fb545e58b400f Signed-off-by: Al Bailey --- nfv/nfv-common/nfv_common/selectable.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nfv/nfv-common/nfv_common/selectable.py b/nfv/nfv-common/nfv_common/selectable.py index f01296c4..6f8ed528 100755 --- a/nfv/nfv-common/nfv_common/selectable.py +++ b/nfv/nfv-common/nfv_common/selectable.py @@ -5,7 +5,7 @@ # import socket import multiprocessing -import Queue as threading_queue +from six.moves import queue as threading_queue class ThreadQueue(object):