Use queue library directly

As the driver is python3-only there's no need to use six
to load the queue library.

Change-Id: I4b12a0281bd56bc83a81ba334ef82521f1e99881
This commit is contained in:
Brian Haley 2020-03-18 09:57:31 -04:00
parent af2b26afe6
commit 5d86a8c15b
2 changed files with 2 additions and 3 deletions

View File

@ -125,7 +125,6 @@ rfc3986==0.3.1
Routes==2.3.1
ryu==4.14
simplejson==3.5.1
six==1.10.0
snowballstemmer==1.2.1
Sphinx==1.6.2
sphinxcontrib-websupport==1.0.1

View File

@ -14,6 +14,7 @@
import atexit
import copy
import queue
import re
import threading
@ -31,7 +32,6 @@ from ovs.stream import Stream
from ovsdbapp.backend.ovs_idl import connection
from ovsdbapp.backend.ovs_idl import event as row_event
from ovsdbapp.backend.ovs_idl import idlutils
from six.moves import queue as Queue
from stevedore import driver
import tenacity
@ -201,7 +201,7 @@ class OvnProviderHelper(object):
ovn_nbdb_api = None
def __init__(self):
self.requests = Queue.Queue()
self.requests = queue.Queue()
self.helper_thread = threading.Thread(target=self.request_handler)
self.helper_thread.daemon = True
atexit.register(self.shutdown)