diff options
Diffstat (limited to 'buildscripts/resmokelib/utils/queue.py')
-rw-r--r-- | buildscripts/resmokelib/utils/queue.py | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/buildscripts/resmokelib/utils/queue.py b/buildscripts/resmokelib/utils/queue.py index c77692138b1..90c57408621 100644 --- a/buildscripts/resmokelib/utils/queue.py +++ b/buildscripts/resmokelib/utils/queue.py @@ -6,16 +6,14 @@ in order for KeyboardInterrupt exceptions to get propagated. See https://bugs.python.org/issue1167930 for more details. """ -from __future__ import absolute_import - -import Queue as _Queue +import queue as _queue import time # Exception that is raised when get_nowait() is called on an empty Queue. -Empty = _Queue.Empty +Empty = _queue.Empty -class Queue(_Queue.Queue): +class Queue(_queue.Queue): """A multi-producer, multi-consumer queue.""" def join(self, timeout=None): # pylint: disable=arguments-differ |